automerge-action icon indicating copy to clipboard operation
automerge-action copied to clipboard

Gotcha for new repos

Open rbren opened this issue 2 years ago • 1 comments

For this action to work, it seems you need to change some settings under Repo -> Settings -> GitHub Actions

This might be a new setting, as I haven't seen it documented here or in similar plugins. Might want to add this to the README. Screenshot 2023-02-20 at 9 55 30 PM

rbren avatar Feb 21 '23 02:02 rbren

That would be possible, but I think the better way would be to use https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

I believe adding

permissions:
  contents: write

to the example workflows in the README should be enough...

pascalgn avatar Apr 15 '23 13:04 pascalgn

I've updated the README, so I think this is fixed now.

pascalgn avatar Apr 11 '24 21:04 pascalgn