Skip to content

Commit

Permalink
ci: adjust concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewiscowles1986 committed Mar 31, 2024
1 parent e2aacf8 commit 566da3a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: documentation

on:
push:
branches: [main]
pull_request:
push:
branches:
- main
workflow_dispatch:

concurrency:
group: ${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
Expand Down Expand Up @@ -51,6 +52,7 @@ jobs:
git fetch --all
git checkout gh-pages
git pull --ff-only
git rm --cached .nojekyll
touch .nojekyll
git add -f .nojekyll
git config user.name "GitHub Actions Bot"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- published

concurrency:
group: ${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
Expand Down

0 comments on commit 566da3a

Please sign in to comment.