Fix if condition

This commit is contained in:
smoogipoo 2021-09-03 18:56:56 +09:00
parent b8ada31d7d
commit 789c108e8d

View File

@ -23,8 +23,7 @@ jobs:
if: |
contains(github.event.comment.html_url, '/pull/') &&
contains(github.event.comment.body, '!pp check') &&
${{ github.event.comment.author_association == 'MEMBER' }} &&
contains(github.event.comment.body, ${{ matrix.ruleset.id }})
${{ github.event.comment.author_association == 'MEMBER' }}
strategy:
fail-fast: false
@ -34,6 +33,10 @@ jobs:
- { name: taiko, id: 1 }
- { name: catch, id: 2 }
- { name: mania, id: 3 }
isValidRuleset:
- contains(github.event.comment.body, ${{ matrix.ruleset.id }})
exclude:
- isValidRuleset: false
services:
mysql: