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 "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
|
||||
- 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')
|
||||
run: exit 1
|
||||
|
||||
test:
|
||||
name: Unit Test
|
||||
|
Loading…
Reference in New Issue
Block a user