Repository navigation
Allow auto-merge - Removed the conditional to allow the required check to run and not be skipped - #1030
Conversation
- Removed the conditional to allow the required check to run and not be skipped
|
It's kinda silly that |
|
The failed link check was a temporary timeout and be ignored. I restarted the run anyway. |
You can configure the |
I couldn't parse this. They shouldn't push to |
|
@stevepiercy I know we always want the tests to run for a push to main. What I meant was that we probably don't need to run them if someone creates and pushes a branch without creating a PR. So we could configure the triggers like this: (Trigger the workflow for all pull requests, and for pushes to the main branch only) |
|
@davisagli done! Looks to work now. |
|
@stevepiercy the auto-merge is not working. "Cannot update this protected ref." |
|
@davisagli that's weird. Maybe this PR needs to be merged before it takes affect? I don't see anything in the repo settings that would prevent a merge. |
|
Yeah, I double-checked the repo's branch protection settings for https://github.com/plone/training/settings/branch_protection_rules/24686927
I had to remove the auto-merge, check "Merge without waiting for requirements to be met (bypass rules)", then "Bypass rules and merge". I guess we'll see if it works next time. |
|
@stevepiercy You were only looking at the (old) branch protection rule feature, but there's also (newer) Rulesets: https://github.com/plone/training/settings/rules The problem might be in this ruleset: https://github.com/plone/training/settings/rules/20865105 It has "restrict updates" checked (Only allow users with bypass permissions to update matching refs.) but the bypass list is set to Repository admin, and I do not have the admin role at the repository level (even though I'm an Owner at the organization level). https://github.com/plone/training/settings/access shows that the documentation team has the admin role, but I'm not in that team. I'm happy to join it, if you think that's the easiest way to resolve this. But I'm not really sure that's the explanation...it seems weird that my permissions would be the problem when you're the one who implemented the PR and clicked auto-merge. |
|
Oops, yeah, wrong link. I purged the old rules just in case they conflicted with the new, although they should have been identical. I sent you invitations to both the docs and trainers teams. You write plenty of docs and encourage others to write them when they omit them, which is the primary function that a member of the docs team does. 😜 I can't explain it either. Definitely weird. |
Closes #1029