cjolowicz/cookiecutter-hypermodern-python

Labeler action permissions

Georacer opened this issue · 1 comments

Hi Claudio!

Thanks a bunch for this awesome template!

I tried it out and I have an issue/question.
I have uploaded a couple of commits (see here: https://github.com/Georacer/penbegone) and initially I was getting errors in the labeler action (e.g. https://github.com/Georacer/penbegone/actions/runs/2296993684, I hope you have access to it).

When I switched the Settings->Actions->General->Workflow Permissions->Read and Write Permissions (default was read only) then the action completed successfully.

I tried to dabble a bit with action permissions (see here: https://github.com/Georacer/penbegone/blob/master/.github/workflows/labeler.yml) but I haven't figured out if they can help on their own and which one.

I couldn't find anything in your extensive guide.
Any help is welcome!

George

Thanks for reporting this!

Possibly related: actions/labeler#136

Edit: Note that this is a different action that is also named labeler.