Do Not Run CodeQL Workflow on push Events for Dependabot Pull Request Branches #52
Labels
bug
This issue or pull request addresses broken functionality
improvement
This issue or pull request will add or improve functionality, maintainability, or ease of use
💡 Summary
Skip the CodeQL workflow on
push
events for PR branches generated by Dependabot.Motivation and context
In cisagov/con-pca-api#224 there was the following error in the
CodeQL / Analyze (python) (push)
GitHub Action run:Link
Implementation notes
I added a commit to skip the workflow if the branch matches the pattern
dependabot/**
in cisagov/con-pca-api@0d726be and observed that the workflow was skipped on apush
event.Acceptance criteria
push
events for Dependabot PR branches.push
events on all other branches.The text was updated successfully, but these errors were encountered: