-
Notifications
You must be signed in to change notification settings - Fork 15
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
Unable to push branch #13
Comments
Hi @bastelfreak, This action should run on a Example: # Controls when the action will run.
on:
# can be used to run workflow manually
workflow_dispatch:
schedule:
# Automatically run on every Sunday
- cron: '0 0 * * 0'
I think the action should work without this.
I need to update this behavior. |
If I add it to a repo without this, it fails to push a branch saying that the workflow permission is not there, however after I add it, run the workflow, then it succeeds, then I remove it from the workflow, run it again and it still works. Looks like a bug of some kind. I am not sure what is going on there. |
Hi @desecho, Thanks for the bug report. 👍 I have not worked on this for sometime. I will check it out and try to reproduce it when I get some time. |
It seems that it does need a workflow-scoped token. Otherwise, I get an error when the version updater action tries to push a new branch. Not sure why is that but I found the solution here: https://github.com/orgs/community/discussions/27072 |
Fixed in #17 |
GitHub Actions Log when PAT without ! [remote rejected] gh-actions-update-1665821908 -> gh-actions-update-1665821908 (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/new.yaml` without `workflow` scope)
I can confirm this. Not sure whats going on here. Happens after changing token with |
Hi!
I'm currently trying to implement your workflow in voxpupuli/vox-pupuli-tasks#479
from the workflow config:
This fails with:
and a couple of questions:
The text was updated successfully, but these errors were encountered: