chore(ci): allow manual trigger via issue #438

Merged
luke merged 2 commits from test into main 2025-01-01 01:37:06 +01:00
Showing only changes of commit 377e1671c2 - Show all commits

View File

@ -9,6 +9,12 @@ jobs:
check_manual_trigger: check_manual_trigger:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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 - name: Allow workflow
if: contains(gitea.event.issue.number, '436')) && contains(gitea.event.comment.body, '/trigger-release') && contains(gitea.event.comment.user.login, 'luke') if: contains(gitea.event.issue.number, '436')) && contains(gitea.event.comment.body, '/trigger-release') && contains(gitea.event.comment.user.login, 'luke')
run: exit 0 run: exit 0