chore(ci): allow manual trigger via issue
All checks were successful
CI / ci (pull_request) Successful in 1m50s
All checks were successful
CI / ci (pull_request) Successful in 1m50s
This commit is contained in:
parent
12a4cb58e0
commit
377e1671c2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user