-
Notifications
You must be signed in to change notification settings - Fork 528
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
CI: Add workflow_dispatch to workflows that still lack it #1976
Conversation
@rousskov I suspect that right now our queue is stuck because all eligible PRs are queued to run the checks defined in quick.yaml, however that workflow had been disabled (I don't know by whom or why), so the trigger events passed by without engaging it. |
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.
@rousskov I suspect that right now our queue is stuck because all eligible PRs are queued to run the checks defined in quick.yaml, however that workflow had been disabled (I don't know by whom or why)
I have not changed any configuration settings since you have started working on fixing CodeQL (and I would have disclosed those changes if I were to do them). I do not see any signs1 of a disabled workload in this repository right now (and this PR tests did run). Did you re-enable it?
If at all possible, please start sharing any changes to repository configuration, especially if they were not previously discussed. CC: @yadij.
so the trigger events passed by without engaging it. The workflow is meant to be triggered on push or PR, but if I were to push, approvals would be lost and would have to be re-granted. This PR would allow manually running these workflows if we ever were to find ourselves again in this situation, as well as allowing to un-stick it
As you know from recent exchanges, I fought for adding this useful trigger. Thank you for adding it to the remaining workloads!
I have adjusted PR title/description to remove the false implication that all workloads lacked this trigger. I also removed a statement regarding permissions required to use this trigger because, AFAICT, it can be used by non-owners in certain cases (and that is OK!).
Footnotes
-
FWIW, you can see how a disabled workload is reported at https://github.com/measurement-factory/squid/actions ↩
Yes, I did.
Sure.
No worries. In fact, in hindsight, I am surprised this is not on by default
Thanks
|
It does not really matter in this case (we have enough folks to quickly re-approve those PRs), but pushing an empty PR commit does not invalidate past PR approvals. GitHub apparently added that behavior in 2023, and I have just successfully tested that with #1966 (commit 4edfc20). |
@kinkie, would you mind addressing my change requests before merging? |
Co-authored-by: Alex Rousskov <[email protected]>
Manually triggering a workflow rerun is handy when troubleshooting. Our coverity-scan.yaml workflow already has a workflow_dispatch trigger.
Manually triggering a workflow rerun is handy when troubleshooting. Our
coverity-scan.yaml workflow already has a workflow_dispatch trigger.