github: fix incomplete permission to label PRs for Hacktoberfest

Unfortunately the GitHub API requires a token with write permission
for both issues and pull-requests to edit labels on even just PRs.

Follow up to #7897
This commit is contained in:
Marc Hoersken 2021-10-27 22:08:20 +02:00
parent 3c05186dc6
commit 1db383dc86
No known key found for this signature in database
GPG Key ID: 61E03CBED7BC859E

View File

@ -6,7 +6,9 @@ on:
branches:
- master
permissions:
permissions:
# requires issues AND pull-requests write permissions to edit labels on PRs!
issues: write
pull-requests: write
jobs: