Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vuln analysis GHAW to use on.push hook #125

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Mar 17, 2023

This hook is needed for proper operation of the Vulnerability / CodeQL job so that it can compare before/after changes against the base branch.

I'm opting to skip limiting either of the on.push or the on.pull_request hook events to just the base branch, instead adding a commented directive to imply that I explicitly made that decision.

refs atc0005/todo#56

@atc0005 atc0005 added bug Something isn't working CI labels Mar 17, 2023
@atc0005 atc0005 added this to the Next Release milestone Mar 17, 2023
@atc0005 atc0005 self-assigned this Mar 17, 2023
@atc0005 atc0005 force-pushed the update-analysis-workflow-to-use-on-push-hook branch 2 times, most recently from 0a634c3 to 5cbe970 Compare March 17, 2023 13:02
This hook is needed for proper operation of the
`Vulnerability / CodeQL` job so that it can compare
before/after changes against the base branch.

I'm opting to skip limiting either of the on.push or the
on.pull_request hook events to just the base branch, instead
adding a commented directive to imply that I explicitly
made that decision.

To keep *all* jobs from running again on push events in
addition to the pull request events we check the event
type in the job definition and skip running the job
unless it is not a push event.

refs atc0005/todo#56
@atc0005 atc0005 force-pushed the update-analysis-workflow-to-use-on-push-hook branch from 5cbe970 to c91159e Compare March 17, 2023 13:07
@atc0005 atc0005 merged commit fde81b4 into master Mar 17, 2023
@atc0005 atc0005 deleted the update-analysis-workflow-to-use-on-push-hook branch March 17, 2023 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant