Skip to content

Commit dc63ed9

Browse files
committed
adopting suggestion from @firewave
Signed-off-by: Konstantinos <kitsios.konst@gmail.com>
1 parent 935558b commit dc63ed9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ on:
1515
permissions:
1616
contents: read
1717

18-
# concurrency:
19-
# group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.head_ref || github.ref }}
20-
# cancel-in-progress: ${{ github.event_name == 'pull_request' }} # this will cancel only PRs
18+
concurrency:
19+
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
20+
cancel-in-progress: ${{ github.event_name == 'pull_request' }} # this will cancel only PRs
2121

2222
jobs:
2323
analyze:

0 commit comments

Comments
 (0)