mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-29 22:42:10 +01:00
Fix typo, address some linting
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
5b721518fa
commit
55c9ab49b9
@ -15,8 +15,7 @@ jobs:
|
|||||||
# 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: |
|
if: |
|
||||||
${{ github.event.issue.pull_request }} &&
|
${{ github.event.issue.pull_request }} &&
|
||||||
( contains(github.event.comment.body, '/update-sdk')
|
( contains(github.event.comment.body, '/update-sdk') || contains(github.event.comment.body, '/build-image') )
|
||||||
|| contains(github.event.comment.body, '/build-image') )
|
|
||||||
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
|
||||||
@ -60,10 +59,9 @@ jobs:
|
|||||||
uses: ./.github/workflows/update-sdk.yaml
|
uses: ./.github/workflows/update-sdk.yaml
|
||||||
|
|
||||||
build_image:
|
build_image:
|
||||||
needs: [ check_maintainer_membership, build_sdk ]
|
needs: [ check_maintainer_membership, update_sdk ]
|
||||||
if: ( always() && needs.check_maintainer_membership.result == 'success'
|
if: ( always() && needs.check_maintainer_membership.result == 'success'
|
||||||
&& ( contains(github.event.comment.body, '/build-image')
|
&& ( contains(github.event.comment.body, '/build-image') || needs.update_sdk.result == 'success' ) )
|
||||||
|| needs.build_sdk.result == 'success' ) )
|
|
||||||
name: "Build the OS image"
|
name: "Build the OS image"
|
||||||
uses: ./.github/workflows/ci.yaml
|
uses: ./.github/workflows/ci.yaml
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user