commit 641fb7fb25f3389dc4b70f4dcfaec7f5ba6bbf9f
parent bb3fa9780c93f1bc735f2a12bea9562c4f45facd
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 11 Oct 2023 15:31:47 +0200
Fix if cases
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/force_deploy.yml b/.github/workflows/force_deploy.yml
@@ -10,7 +10,7 @@ jobs:
pull-requests: write
contents: read
statuses: write
- if: github.event.issue.pull_request && contains(github.event.comment.body, '/force_deploy' && (contains(github.event.comment.author_association, 'OWNER') || contains(github.event.comment.author_association, 'MEMBER')))
+ if: github.event.issue.pull_request && contains(github.event.comment.body, '/force_deploy') && (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER')
runs-on: ubuntu-latest
steps:
- name: Get PR branch
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
contents: read
statuses: write
needs: linting
- if: github.event.issue.pull_request && contains(github.event.comment.body, '/test' && (contains(github.event.comment.author_association, 'OWNER') || contains(github.event.comment.author_association, 'MEMBER')))
+ if: github.event.issue.pull_request && contains(github.event.comment.body, '/test') && (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER')
runs-on: ubuntu-latest
steps:
- name: Get PR branch