]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
github: fix incomplete permission to label PRs for Hacktoberfest
authorMarc Hoersken <info@marc-hoersken.de>
Wed, 27 Oct 2021 20:08:20 +0000 (22:08 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Wed, 27 Oct 2021 20:08:20 +0000 (22:08 +0200)
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

.github/workflows/hacktoberfest-accepted.yml

index 862a62307b0ce01a834c7a88cac76cace40b7f32..22b69e4223f93a783caf65d6ee75f330c7981dab 100644 (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: