-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[skip-ci] GHA: Fix intermittent workflow error #22304
[skip-ci] GHA: Fix intermittent workflow error #22304
Conversation
@edsantiago @lsm5 @mheon PTAL, this should fix the alerts we've been getting from this repo. There's no practical way to test this PR, so it needs to be manually merged (the bot will not work). If acceptable, I intend to open similar PRs for Buildah and Skopeo where we also receive this alert. |
Clarification: "The fix worked for other people" is all I have to go on for this change. |
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.
Let's please disable the thing for discussions instead, they are discussions and not meant locked just because someone closed them IMO.
dessant/lock-threads#47 (comment)
And if we do want to lock them I guess we must configure it the same way we did for PRs/issues so that it does not use the defaults.
Thanks for your input Paul, sorry I probably should have tagged you as well. IIRC, the original concern was over receiving e-mail notifications relating to old closed PRs/Issues. So these would not be open/active discussions. The workflow is already configured to use the same settings as for issues/PRs (and now discussions). |
Yes exactly which is why this change is wrong because you enable locking of discussions, IMO discussions are from and for community and we see plenty of non maintainers active there as well, there is no requirement for us to interact with them.
How do you set these for discussion? You currently don't so this fix would make things worse as it uses the defaults (which we do not liked) |
99b0e8c
to
145e9c9
Compare
Force-pushed: Added config. for discussions. Note: I'm open to disabling management of discussions, assuming that's what the team wants. I'll make a note to bring this up. |
145e9c9
to
e2d8074
Compare
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.
LGTM although I think if you change the name there you want to change it in the other place as well.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cevich, Luap99 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Periodically, the discussion-lock workflow throws the error: `Resource not accessible by integration` This was identified in the [upstream](https://github.com/dessant/lock-threads) issue 47, as caused by a version-5 change that adds support for management of discussions but requires additional permissions and possibly settings. Given the low notification traffic from discussions, old discussions may remain valid for a long while, and are a useful community-interface: Disable management of discussions. Signed-off-by: Chris Evich <[email protected]>
e2d8074
to
7f0268a
Compare
Force-push: Renamed job and workflow file. |
Cockpit tests failed for commit 7f0268a. @martinpitt, @jelly, @mvollmer please check. |
LGTM. Looking forward to Thursday or Friday to see if this fixes the problem. Thank you! |
/lgtm |
918e4a3
into
containers:main
Apply the same change as in containers/podman#22304 Signed-off-by: Chris Evich <[email protected]>
Note: Both buildah and skopeo re-use this workflow via GHA magic. So by merging this we should find the problem is fixed everywhere. Hopefully. |
Oops, nope, spoke too soon. The file rename is going to cause both Skopeo and Buildah to fail. |
Followup to containers/podman#22304 Signed-off-by: Chris Evich <[email protected]>
Followup to containers/podman#22304 Signed-off-by: Chris Evich <[email protected]>
Followup to containers/podman#22304 Signed-off-by: Chris Evich <[email protected]>
Followup to containers/podman#22304 Signed-off-by: Chris Evich <[email protected]>
Good idea for a followup: add a huge all-caps warning saying "THIS FILE IS USED BY SKOPEO AND BUILDAH etc etc" |
That is a good idea. |
Periodically, the discussion-lock workflow throws the error:
Resource not accessible by integration
This was identified in the upstream issue 47, as caused by a version-5 change that adds support for management of discussions but requires additional permissions and possibly settings. Given the low notification traffic from discussions, old discussions may remain valid for a long while, and are a useful community-interface: Disable management of discussions.
Does this PR introduce a user-facing change?