mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-23 10:12:12 +01:00
Merge pull request #3491 from flatcar/chewi/gha-pr-command-logic
github: Fix PR command dispatcher logic so it doesn't always trigger
This commit is contained in:
commit
34de824d5f
@ -13,7 +13,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
run_pre_checks:
|
run_pre_checks:
|
||||||
# Only run if this is a PR comment that contains a valid command
|
# Only run if this is a PR comment that contains a valid command
|
||||||
if: ${{ github.event.issue.pull_request }} && ( contains(github.event.comment.body, '/build-image') || contains(github.event.comment.body, '/update-sdk'))
|
if: ${{ github.event.issue.pull_request && (contains(github.event.comment.body, '/build-image') || contains(github.event.comment.body, '/update-sdk')) }}
|
||||||
name: Check if commenter is in the Flatcar maintainers team
|
name: Check if commenter is in the Flatcar maintainers team
|
||||||
outputs:
|
outputs:
|
||||||
maintainers: steps.step1.output.maintainers
|
maintainers: steps.step1.output.maintainers
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user