commit 2f453f45f5e824dc74ad75bb0754dadf4ade129d
parent 641fb7fb25f3389dc4b70f4dcfaec7f5ba6bbf9f
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 11 Oct 2023 15:35:17 +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') && (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER')
+ 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'))
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') && (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER')
+ 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'))
runs-on: ubuntu-latest
steps:
- name: Get PR branch