Skip to content

Commit aa60fbc

Browse files
adityasharadaeisenberg
authored andcommitted
Actions: Simplify code scanning workflow
Run only on pushes and PRs against `main`.
1 parent bdb2feb commit aa60fbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: "Code Scanning - CodeQL"
22

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

911
jobs:
1012
codeql:
11-
strategy:
12-
fail-fast: false
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository

0 commit comments

Comments
 (0)