Fix typo, address some linting

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
Gabriel Adrian Samfira 2023-05-23 12:41:08 +03:00
parent 5b721518fa
commit 55c9ab49b9
No known key found for this signature in database
GPG Key ID: 7D073DCC2C074CB5

View File

@ -15,8 +15,7 @@ jobs:
# Only run if this is a PR comment that contains a valid command
if: |
${{ github.event.issue.pull_request }} &&
( contains(github.event.comment.body, '/update-sdk')
|| contains(github.event.comment.body, '/build-image') )
( contains(github.event.comment.body, '/update-sdk') || contains(github.event.comment.body, '/build-image') )
name: Check if commenter is in the Flatcar maintainers team
outputs:
maintainers: steps.step1.output.maintainers
@ -60,10 +59,9 @@ jobs:
uses: ./.github/workflows/update-sdk.yaml
build_image:
needs: [ check_maintainer_membership, build_sdk ]
needs: [ check_maintainer_membership, update_sdk ]
if: ( always() && needs.check_maintainer_membership.result == 'success'
&& ( contains(github.event.comment.body, '/build-image')
|| needs.build_sdk.result == 'success' ) )
&& ( contains(github.event.comment.body, '/build-image') || needs.update_sdk.result == 'success' ) )
name: "Build the OS image"
uses: ./.github/workflows/ci.yaml
with: