Skip to content

Commit 2cc3f12

Browse files
Fix workflows
1 parent 6f63d79 commit 2cc3f12

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1-
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning
21
name: "CodeQL"
32

43
on:
5-
push: {}
4+
push:
5+
branches: [ "main" ]
66
pull_request:
7-
# The branches below must be a subset of the branches above
8-
branches: [ main ]
7+
branches: [ "main" ]
8+
schedule:
9+
- cron: '39 7 * * 6'
910

1011
jobs:
1112
analyze:
1213
name: Analyze
1314
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
1419

1520
strategy:
1621
fail-fast: false

0 commit comments

Comments
 (0)