fix(ci): fix manual release trigger

You must always use the `${{ }}` expression syntax when negating (`!`).
https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution
This commit is contained in:
Luke Tainton 2025-01-01 00:42:50 +00:00
parent 54f9c42826
commit e39637d227
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -16,7 +16,7 @@ jobs:
echo "User: ${{ gitea.event.comment.user.login }}" echo "User: ${{ gitea.event.comment.user.login }}"
- name: Stop workflow if required conditions are not met - 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 1 run: exit 1
test: test: