File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131
3232# Cancels all previous workflow runs for pull requests that have not completed.
3333concurrency :
34- # The concurrency group contains the workflow name and the branch name for pull requests
34+ # The concurrency group contains the workflow name and the pull request number for pull requests
3535 # or the commit hash for any other events.
36- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
36+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
3737 cancel-in-progress : true
3838
3939# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 1616
1717# Cancels all previous workflow runs for pull requests that have not completed.
1818concurrency :
19- # The concurrency group contains the workflow name and the branch name for pull requests
19+ # The concurrency group contains the workflow name and the pull request number for pull requests
2020 # or the commit hash for any other events.
21- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
21+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
2222 cancel-in-progress : true
2323
2424# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 2929
3030# Cancels all previous workflow runs for pull requests that have not completed.
3131concurrency :
32- # The concurrency group contains the workflow name and the branch name for pull requests
32+ # The concurrency group contains the workflow name and the pull request number for pull requests
3333 # or the commit hash for any other events.
34- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
34+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
3535 cancel-in-progress : true
3636
3737# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 2525
2626# Cancels all previous workflow runs for pull requests that have not completed.
2727concurrency :
28- # The concurrency group contains the workflow name and the branch name for pull requests
28+ # The concurrency group contains the workflow name and the pull request number for pull requests
2929 # or the commit hash for any other events.
30- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
30+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
3131 cancel-in-progress : true
3232
3333# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 1818
1919# Cancels all previous workflow runs for pull requests that have not completed.
2020concurrency :
21- # The concurrency group contains the workflow name and the branch name for pull requests
21+ # The concurrency group contains the workflow name and the pull request number for pull requests
2222 # or the commit hash for any other events.
23- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
23+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
2424 cancel-in-progress : true
2525
2626# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 2525
2626# Cancels all previous workflow runs for pull requests that have not completed.
2727concurrency :
28- # The concurrency group contains the workflow name and the branch name for pull requests
28+ # The concurrency group contains the workflow name and the pull request number for pull requests
2929 # or the commit hash for any other events.
30- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
30+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
3131 cancel-in-progress : true
3232
3333# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 2222
2323# Cancels all previous workflow runs for pull requests that have not completed.
2424concurrency :
25- # The concurrency group contains the workflow name and the branch name for pull requests
25+ # The concurrency group contains the workflow name and the pull request number for pull requests
2626 # or the commit hash for any other events.
27- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
27+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
2828 cancel-in-progress : true
2929
3030# Disable permissions for all available scopes by default.
You can’t perform that action at this time.
0 commit comments