GitHub Actions Error Pushing With Workflow Modified [Snippets]
When creating a workflow for GitHub Action, a strange error can sometimes occur...
Join the DZone community and get the full member experience.Join For Free
after creating a workflow for github action, if you try to modify the workflow locally, then push to github — you can incur a strange error.
you may also like: building a real-time github issue tracker using java and deepstream
here's an example of refusing to allow an integration to create or update .github/workflows/ci.yml:
the reason seems to be about different permissions used for authentication in the auth token. so, to solve the problem, you need to clear credentials and then try the operation again. in windows, you need to use credential manager , as i described in that old post. just delete every entry for github, then try to push again; you will be asked again for credentials and then you should be able to push.
let me know in the comments if the error persists.
Published at DZone with permission of Ricci Gian Maria, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.