forgejo/autolabeler: clean up logic a bit and prevent self-looping

The loop-protection only takes effect for the automatic token, not for
ffmpeg-devels PAT.
This commit is contained in:
Timo Rothenpieler
2025-08-08 21:37:20 +02:00
parent 26a2a76346
commit 274e00ea84
2 changed files with 25 additions and 27 deletions

View File

@@ -9,6 +9,7 @@ on:
jobs:
pr_labeler:
runs-on: utilities
if: ${{ github.event.sender.login != 'ffmpeg-devel' }}
steps:
- name: Checkout
uses: actions/checkout@v4