The branch, master has been updated via 0f873fc07a2dec9f8738306b8b38dd7daafc7120 (commit) from 4e9a184d5c948ce89fc7cd0954c9e1600e776db9 (commit)
- Log ----------------------------------------------------------------- commit 0f873fc07a2dec9f8738306b8b38dd7daafc7120 Author: Timo Rothenpieler <t...@rothenpieler.org> AuthorDate: Fri Aug 22 20:44:42 2025 +0200 Commit: Timo Rothenpieler <t...@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 -- _______________________________________________ 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".