Skip to content

"Git: Permission denied" by default #15

@nezed

Description

@nezed

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions