Skip to content

Commit

Permalink
Merge pull request #73 from cisagov/improvement/skip_codeql_on_push_f…
Browse files Browse the repository at this point in the history
…or_dependabot_branches

Skip CodeQL Workflow for Dependabot Branches on push Events
  • Loading branch information
mcdonnnj authored Apr 15, 2021
2 parents 9db8301 + 3d40ce3 commit c6cd8d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ name: "CodeQL"

on:
push:
# Push on all branches
# branches: [develop]
# Dependabot triggered push events have read-only access, but uploading code
# scanning requires write access.
branches-ignore: [dependabot/**]
pull_request:
# The branches below must be a subset of the branches above
branches: [develop]
Expand Down

0 comments on commit c6cd8d7

Please sign in to comment.