Skip to content

Commit a7ba1ff

Browse files
committed
ci: run codeql on push to the main branch
1 parent 61fa702 commit a7ba1ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: "CodeQL"
22

33
on:
4+
push:
5+
branches: [ "main" ]
6+
tags-ignore: [ "**" ]
47
pull_request:
58
schedule:
69
- cron: '00 2 * * *'
@@ -10,6 +13,7 @@ concurrency:
1013
group: cq-${{ github.event.pull_request.number || github.job }}
1114

1215
permissions:
16+
contents: read
1317
security-events: write
1418

1519
jobs:

0 commit comments

Comments
 (0)