fix(ci): fix manual release trigger
This commit is contained in:
parent
377e1671c2
commit
54f9c42826
@ -15,9 +15,9 @@ jobs:
|
|||||||
echo "Comment: ${{ gitea.event.comment.body }}"
|
echo "Comment: ${{ gitea.event.comment.body }}"
|
||||||
echo "User: ${{ gitea.event.comment.user.login }}"
|
echo "User: ${{ gitea.event.comment.user.login }}"
|
||||||
|
|
||||||
- name: Allow workflow
|
- name: Stop workflow if required conditions are not met
|
||||||
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 1
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Unit Test
|
name: Unit Test
|
||||||
|
Loading…
Reference in New Issue
Block a user