-
Notifications
You must be signed in to change notification settings - Fork 7
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
actions: write updates directly to redirectLinks.json to main #85
Conversation
The deploy step is failing https://github.com/nodejs/release-cloudflare-worker/actions/runs/6933469355/job/18859682904, I assumed |
Is my help needed here? I can add a token if still needed |
You can simply just add the example mentioned there. But in general, these should be triggered on the "behalf" of an user. Adding the default token there might give an error that this Token has no access to this resource. Pretty much because GitHub Actions Tokens have access/scope only for that specific GitHub Workflow and Run. |
|
Right, yes. We need to pretty much then provide an user token. |
The workflow did not fail due to credentials, it failed because main is a protectd branch:
|
Huh? Interesting. We could bypass the rule for github actions (user I think?) |
yes, I am looking into this now |
I suggest to work with pull requests, even for automation. You can enable auto-merge in the repo settings and do something like this in a workflow (assuming token with enough permissions):
|
Closes #66