[FFmpeg-cvslog] [ffmpeg] branch master updated. 0f873fc07a forgejo/workflows: use built-in token for autolabeler whenever possible
ffmpeg-git at ffmpeg.org
ffmpeg-git at ffmpeg.org
Fri Aug 22 22:09:15 EEST 2025
The branch, master has been updated
via 0f873fc07a2dec9f8738306b8b38dd7daafc7120 (commit)
from 4e9a184d5c948ce89fc7cd0954c9e1600e776db9 (commit)
- Log -----------------------------------------------------------------
commit 0f873fc07a2dec9f8738306b8b38dd7daafc7120
Author: Timo Rothenpieler <timo at rothenpieler.org>
AuthorDate: Fri Aug 22 20:44:42 2025 +0200
Commit: Timo Rothenpieler <timo at rothenpieler.org>
CommitDate: Fri Aug 22 21:07:33 2025 +0200
forgejo/workflows: use built-in token for autolabeler whenever possible
diff --git a/.forgejo/workflows/autolabel.yml b/.forgejo/workflows/autolabel.yml
index cb4dac67aa..85afcdad03 100644
--- a/.forgejo/workflows/autolabel.yml
+++ b/.forgejo/workflows/autolabel.yml
@@ -18,11 +18,11 @@ jobs:
if: ${{ forge.event_name == 'pull_request_target' }}
with:
configuration-path: .forgejo/labeler/labeler.yml
- repo-token: ${{ secrets.AUTOLABELER_TOKEN }}
+ repo-token: ${{ forge.event_name == 'pull_request_target' && secrets.AUTOLABELER_TOKEN || forge.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 }}
+ github-token: ${{ forge.event_name == 'pull_request_target' && secrets.AUTOLABELER_TOKEN || forge.token }}
-----------------------------------------------------------------------
Summary of changes:
.forgejo/workflows/autolabel.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
More information about the ffmpeg-cvslog
mailing list