File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575
7676# Cancels all previous workflow runs for pull requests that have not completed.
7777concurrency :
78- # The concurrency group contains the workflow name and the branch name for pull requests
78+ # The concurrency group contains the workflow name and the pull request number for pull requests
7979 # or the commit hash for any other events.
80- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
80+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
8181 cancel-in-progress : true
8282
8383# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 5050
5151# Cancels all previous workflow runs for pull requests that have not completed.
5252concurrency :
53- # The concurrency group contains the workflow name and the branch name for pull requests
53+ # The concurrency group contains the workflow name and the pull request number for pull requests
5454 # or the commit hash for any other events.
55- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
55+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
5656 cancel-in-progress : true
5757
5858# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 3737
3838# Cancels all previous workflow runs for pull requests that have not completed.
3939concurrency :
40- # The concurrency group contains the workflow name and the branch name for pull requests
40+ # The concurrency group contains the workflow name and the pull request number for pull requests
4141 # or the commit hash for any other events.
42- group : ${{ github.workflow }}-${{ inputs.wp-version || github.event_name == 'pull_request' && github.head_ref || github.sha }}
42+ group : ${{ github.workflow }}-${{ inputs.wp-version || github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
4343 cancel-in-progress : true
4444
4545# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 7676
7777# Cancels all previous workflow runs for pull requests that have not completed.
7878concurrency :
79- # The concurrency group contains the workflow name and the branch name for pull requests
79+ # The concurrency group contains the workflow name and the pull request number for pull requests
8080 # or the commit hash for any other events.
81- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
81+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
8282 cancel-in-progress : true
8383
8484# Disable permissions for all available scopes by default.
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 6464
6565# Cancels all previous workflow runs for pull requests that have not completed.
6666concurrency :
67- # The concurrency group contains the workflow name and the branch name for pull requests
67+ # The concurrency group contains the workflow name and the pull request number for pull requests
6868 # or the commit hash for any other events.
69- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
69+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
7070 cancel-in-progress : true
7171
7272# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 5151
5252# Cancels all previous workflow runs for pull requests that have not completed.
5353concurrency :
54- # The concurrency group contains the workflow name and the branch name for pull requests
54+ # The concurrency group contains the workflow name and the pull request number for pull requests
5555 # or the commit hash for any other events.
56- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
56+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
5757 cancel-in-progress : true
5858
5959# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 6464
6565# Cancels all previous workflow runs for pull requests that have not completed.
6666concurrency :
67- # The concurrency group contains the workflow name and the branch name for pull requests
67+ # The concurrency group contains the workflow name and the pull request number for pull requests
6868 # or the commit hash for any other events.
69- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
69+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
7070 cancel-in-progress : true
7171
7272# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 2626
2727# Cancels all previous workflow runs for pull requests that have not completed.
2828concurrency :
29- # The concurrency group contains the workflow name and the branch name for pull requests
29+ # The concurrency group contains the workflow name and the pull request number for pull requests
3030 # or the commit hash for any other events.
31- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
31+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
3232 cancel-in-progress : true
3333
3434# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 7474
7575# Cancels all previous workflow runs for pull requests that have not completed.
7676concurrency :
77- # The concurrency group contains the workflow name and the branch name for pull requests
77+ # The concurrency group contains the workflow name and the pull request number for pull requests
7878 # or the commit hash for any other events.
79- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
79+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
8080 cancel-in-progress : true
8181
8282# Disable permissions for all available scopes by default.
You can’t perform that action at this time.
0 commit comments