chore(ci): allow manual trigger via issue
All checks were successful
CI / ci (pull_request) Successful in 1m50s

This commit is contained in:
Luke Tainton 2025-01-01 00:34:17 +00:00
parent 12a4cb58e0
commit 377e1671c2
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -9,6 +9,12 @@ jobs:
check_manual_trigger:
runs-on: ubuntu-latest
steps:
- name: Log event metadata
run: |
echo "Issue: ${{ gitea.event.issue.number }}"
echo "Comment: ${{ gitea.event.comment.body }}"
echo "User: ${{ gitea.event.comment.user.login }}"
- name: Allow workflow
if: contains(gitea.event.issue.number, '436')) && contains(gitea.event.comment.body, '/trigger-release') && contains(gitea.event.comment.user.login, 'luke')
run: exit 0