Skip to content

Commit

Permalink
More precise reference name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ao-senXiong committed Aug 20, 2024
1 parent 0b1fb14 commit d3ce3d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:

# Configure GitHub Actions cancel in progress workflow to avoid redundant runs in pull requests.
# See: https://docs.github.com/en/enterprise-cloud@latest/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.ref, 'master')}}
cancel-in-progress: ${{ !contains(github.ref, 'heads/master')}}

jobs:
# Basic sanity tests on JDK 21.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-generate-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
# See: https://docs.github.com/en/enterprise-cloud@latest/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.ref, 'master')}}
cancel-in-progress: ${{ !contains(github.ref, 'heads/master')}}

permissions:
contents: read # 'write' permission is not available
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
# See: https://docs.github.com/en/enterprise-cloud@latest/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.ref, 'master')}}
cancel-in-progress: ${{ !contains(github.ref, 'heads/master')}}

permissions:
contents: read
Expand Down

0 comments on commit d3ce3d1

Please sign in to comment.