From: Marc Hoersken Date: Wed, 27 Oct 2021 20:08:20 +0000 (+0200) Subject: github: fix incomplete permission to label PRs for Hacktoberfest X-Git-Tag: curl-7_80_0~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1db383dc8612a5c20ffcb4f2abaf968e47e079b2;p=thirdparty%2Fcurl.git 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 --- diff --git a/.github/workflows/hacktoberfest-accepted.yml b/.github/workflows/hacktoberfest-accepted.yml index 862a62307b..22b69e4223 100644 --- a/.github/workflows/hacktoberfest-accepted.yml +++ b/.github/workflows/hacktoberfest-accepted.yml @@ -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: