Skip to content

Commit

Permalink
chore(ci): use github.ref_name instead of .ref for concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan committed Dec 7, 2023
1 parent 97aa536 commit a2d1f35
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- labeled
- ready_for_review
- reopened
concurrency: ${{ github.workflow }}-${{ github.ref }}
concurrency: ${{ github.workflow }}-${{ github.ref_name }}
jobs:
approve:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- ready_for_review
- reopened
- synchronize
concurrency: ${{ github.workflow }}-${{ github.ref }}
concurrency: ${{ github.workflow }}-${{ github.ref_name }}
jobs:
automerge:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- reopened
- synchronize
workflow_dispatch: {}
concurrency: ${{ github.workflow }}-${{ github.ref }}
concurrency: ${{ github.workflow }}-${{ github.ref_name }}
jobs:
update:
name: Update Snapshots
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
schedule:
- cron: '20 5 * * *'
workflow_dispatch: {}
concurrency: ${{ github.workflow }}-${{ github.ref }}
concurrency: ${{ github.workflow }}-${{ github.ref_name }}
jobs:
upgrade:
name: Upgrade Node.js
Expand Down

0 comments on commit a2d1f35

Please sign in to comment.