-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Infra: Run cve checks workflow on pull requests and pushes to main #745
base: main
Are you sure you want to change the base?
Conversation
@Haarolean I noticed that you implemented this recently: #219 We probably do not want to send notifications for every failure (definitely not from pull requests). Do you have any suggestion about when should it be sent? For now, I pushed d5a52d3 to only send it from |
@@ -1,5 +1,8 @@ | |||
name: "Infra: CVE checks" | |||
on: | |||
pull_request_target: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't need pull_request_target for this particular workflow, pull_request
should suffice.
@@ -71,7 +74,7 @@ jobs: | |||
|
|||
notify: | |||
needs: build-and-test | |||
if: ${{ always() && needs.build-and-test.result == 'failure' }} | |||
if: ${{ always() && needs.build-and-test.result == 'failure' && github.ref == 'refs/heads/main' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please adjust this so it only runs upon failures of scheduled runs?
Thank you for this PR. |
What changes did you make? (Give an overview)
Closes #707
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)
Tested here :
main
: https://github.com/yeikel/kafka-ui/actions/runs/12602983150/job/35127088622Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)
A picture of a cute animal (not mandatory but encouraged)