ffmpeg | branch: master | Timo Rothenpieler <t...@rothenpieler.org> | Sat Jul 
26 19:32:12 2025 +0200| [29368ccb480d598dc342eb33e006940bc84551af] | committer: 
Timo Rothenpieler

forgejo/workflows: use explicit token with issue write permission

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=29368ccb480d598dc342eb33e006940bc84551af
---

 .forgejo/workflows/autolabel.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.forgejo/workflows/autolabel.yml b/.forgejo/workflows/autolabel.yml
index 0009550c05..3eb8cd52ba 100644
--- a/.forgejo/workflows/autolabel.yml
+++ b/.forgejo/workflows/autolabel.yml
@@ -4,11 +4,6 @@ on:
   issues:
     types: [opened, edited]
 
-permissions:
-  contents: read
-  pull-requests: write
-  issues: write
-
 jobs:
   pr_labeler:
     runs-on: utilities
@@ -20,9 +15,11 @@ jobs:
         if: ${{ forge.event_name == 'pull_request_target' }}
         with:
           configuration-path: .forgejo/labeler/labeler.yml
+          repo-token: ${{ secrets.AUTOLABELER_TOKEN }}
       - name: Label by title-match
         uses: https://github.com/actions/github-script@v7
         with:
           script: |
             const script = require('.forgejo/labeler/labeler.js')
             await script({github, context})
+          github-token: ${{ secrets.AUTOLABELER_TOKEN }}

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to