Skip to content

Commit

Permalink
fix(CI): CodeQL in main branch
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Feb 3, 2022
1 parent f5a479d commit ef07b9c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ name: "CodeQL"

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ main ]
schedule:
- cron: '0 17 * * 5'
- cron: '30 1 * * 0'

jobs:
analyze:
Expand All @@ -23,6 +23,10 @@ jobs:
# required for all workflows
security-events: write

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit ef07b9c

Please sign in to comment.