Skip to content
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

"Git: Permission denied" by default #15

Open
nezed opened this issue Feb 20, 2023 · 0 comments
Open

"Git: Permission denied" by default #15

nezed opened this issue Feb 20, 2023 · 0 comments

Comments

@nezed
Copy link

nezed commented Feb 20, 2023

The problem

There's no write permissions for actions by default, as now by default access is Default assess (restricted).

Workaround

You can easily switch to legacy behaviour, when writing is available, see ad-m/github-push-action#96 (comment)

Solution

Setting the .permissions for step might be the solution.

Not quite sure about the prefect solution, but https://docs.github.com/en/actions/security-guides/automatic-token-authentication will definitely help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant