Skip to content

Commit 5ad93c3

Browse files
committed
CI: fix dup codeql runs
1 parent 8b754db commit 5ad93c3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,24 @@ name: "Code scanning - action"
22

33
on:
44
push:
5+
branches: [main]
56
pull_request:
7+
branches: [main]
68
schedule:
79
- cron: '0 1 * * 4'
810

11+
concurrency:
12+
group: codeql-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
915
jobs:
1016
CodeQL-Build:
1117

1218
runs-on: ubuntu-latest
1319

20+
permissions:
21+
security-events: write
22+
1423
steps:
1524
- name: Checkout repository
1625
uses: actions/checkout@v3

0 commit comments

Comments
 (0)