-
Notifications
You must be signed in to change notification settings - Fork 1
Issues with pushing JSON file to repo #158
Comments
As an aside, allowing GitHub Actions to push to protected branches is a sought after feature that is apparently not being prioritised by GitHub right now https://github.com/orgs/community/discussions/25305 |
I would suggest waiting as well. I noticed something similar in the action for our website: https://github.com/2i2c-org/2i2c-org.github.io/actions/runs/4330406134. Wondering if it is somehow related... |
@damianavila Ah yes, 2i2c-org/infrastructure#359 will be the cause of that |
This was fixed by adding permissions in #162, showing that the above issue was the cause |
Yep, I did the very same thing in another PR a few days back: 2i2c-org/2i2c-org.github.io#152 |
Context
The workflows in this repo push the
team-roles.json
file to themain
branch. These have just recently started failing with a403
against thegithub-actions[bot]
user, even with branch protection rules turned off. I'm not sure what has changed to cause this failure. It could be an upstream change in theEngBug/add-and-commit
action.Potential courses of action:
EndBug/add-and-commit
for issues/updates (this is semi-automated by dependabot, but we use av9
tag and may need to pin to a specific one for a while as we wait for changes to propagate)actions/checkout
to checkout with a PAT, which will then be consumed byEndBug/add-and-commit
to do the push. I suspect my handle might not receive a 403 like the bot user does.Proposal
No response
Updates and actions
No response
The text was updated successfully, but these errors were encountered: