-
Notifications
You must be signed in to change notification settings - Fork 28
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
[Question] Write Permission check #20
Comments
Same issue here. This set off pager alerts and broke my workflows. Rolling back to the unbroken version for now. |
Oh, this makes sense, i thought setting it to true as default would be better. Will make it false instead. Thanks for the heads up. |
Just fixed the code and released an update that fixes the broken jobs. you guys can continue using the working gautamkrishnar/keepalive-workflow@v1 version now. I will create a v2 version that has the new defaults later. |
@tedmiston for your question |
Hi,
First, thanks for this very useful action.
Then, a few remarks:
since the release
1.2.0
(including this commit ), almost all my Keep Alive workflows no longer work because I protect themain
branch on almost all my projects.I guess I can solve it by setting
auto_write_check
tofalse
(did no test yet, am I right ?).Setting the default value of
auto_write_check
totrue
is a kind of breaking change for me, and I would have prefer a@v2
maybe (or still a@v1
if the default value isfalse
).Finally, my question is:
Is it normal that, even if we set explicitly the write permission in the workflow, the Keep alive step will throw an error ?
For example,
I'm using this generic action :
And it fails (because I protected the main branch) even if there is the
permissions:contents: write
directive.Thanks
The text was updated successfully, but these errors were encountered: