Skip to content

Docs: users must allow maintainer edits for the action to work #281

@Prince213

Description

@Prince213

git-auto-commit Version

v4

Machine Type

Ubuntu (ubuntu-latest)

Bug description

See L3MON4D3/LuaSnip#734.
The first CI run failed:

To https://github.com/Prince213/LuaSnip
 ! [remote rejected] HEAD -> typo-fix (permission denied)
error: failed to push some refs to 'https://github.com/Prince213/LuaSnip'

But when Allow edits by maintainers is checked, the second run succeeded.

Related: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork

Steps to reproduce

Try to create PR and uncheck Allow edits by maintainers. The check it and try again.

Tried solutions

Check Allow edits by maintainers.

Example Workflow

https://github.com/L3MON4D3/LuaSnip/blob/master/.github/workflows/push.yaml

Relevant log output

To https://github.com/Prince213/LuaSnip
 ! [remote rejected] HEAD -> typo-fix (permission denied)
error: failed to push some refs to 'https://github.com/Prince213/LuaSnip'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions