-
Notifications
You must be signed in to change notification settings - Fork 88
Changes in permission-* handling since version 2.0.4 #248
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
Comments
So glad you created this @andrej-urvantsev. I left on friday having completed a pipeline, happy with myself, got back from a bank holiday weekend to it broken 😆 I was so confused! This screams regression, from what I've read on the docs, we're doing everything right. I'll see if I can debug the problem and tag the author of the commits |
It's not obvious if this is a regression or if there was some silent failures before. I can see some new retry logic if there's a >= 500 response code, but I'm getting a 422 response, which suggests that retry logic is a red herring and it's actually something else in the change, suggesting the payload is 👎 |
@gr2m could we get a revert on that PR please? |
@parkerbxyz Actually I suspect it's #243, the previously linked one was a patch on top of that work. Given the 2.0.4+ tags being identified, this would be the likely culprit |
That usually means you don't have the permission. What we fixed was the permissions setting, they actually work now. Before the recent changes, they actually had no effect. I assume the permissions you set do not suffice for what you are doing with the token and it only started failing after we fixed the permission setting. |
This also supports my assumption above. To make it work again, remove all |
@gr2m are you certain? I'm pretty confident my permissions are correct. I suppose I could narrow them down. The gist I got from his response is removing all permissions worked, not specific permissions. |
Can you share
|
Hi!
Could you please clarify changes in releases between 2.0.3 and 2.0.6?
Until version 2.0.4 we used to have following in our workflow(which uses App Token to push to protected branch)
But after 2nd of May(versions 2.0.4 - 2.0.6) this stopped working and workflow started to fail with
However if we remove permission-* setting(so token inherits all permissions), then it works again.
Now, I'm a bit confused: is it we who did it wrong before v2.0.4, or something broke in the latest releases?
The text was updated successfully, but these errors were encountered: