Skip to content

Commit

Permalink
Worklow: in codeql, don't trigger on non-main branch push
Browse files Browse the repository at this point in the history
Otherwise dependabot will get a permission error for the upload artifact step when pushing to its branch. Still gets executed OK in the pull_request event. May need to re-set for build flow too.
  • Loading branch information
jhy committed Jul 31, 2024
1 parent c73bad8 commit 1738779
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: CodeQL

on:
push:
branches:
- master
pull_request:

jobs:
Expand Down

0 comments on commit 1738779

Please sign in to comment.