Skip to content

Commit

Permalink
github: fix yaml syntax errors in workflow files
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Apr 18, 2024
1 parent eb93579 commit 5106522
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 17 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
name: Branch target
runs-on: ubuntu-22.04
steps:
- name: Check branch target
env:
TARGET: ${{ github.event.pull_request.base.ref }}
run: |
set -x
[ "${TARGET}" = "main" ] && exit 0
- name: Check branch target
env:
TARGET: ${{ github.event.pull_request.base.ref }}
run: |
set -x
[ "${TARGET}" = "main" ] && exit 0
echo "Invalid branch target: ${TARGET}"
exit 1
echo "Invalid branch target: ${TARGET}"
exit 1
2 changes: 1 addition & 1 deletion .github/workflows/image-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
build_arm64:
- ${{ inputs.build-arm64 == true || github.event.schedule == '0 0 * * 1' }}
exclude:
- { architecture: arm64, build_arm64: false }
- {architecture: arm64, build_arm64: false}
env:
type: "container"
distro: "${{ github.job }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/image-archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- amd64
# - arm64
exclude:
- { architecture: arm64, variant: cloud }
- { architecture: arm64, variant: desktop-gnome }
- {architecture: arm64, variant: cloud}
- {architecture: arm64, variant: desktop-gnome}
env:
type: "container"
distro: "${{ github.job }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/image-opensuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- amd64
# - arm64
exclude:
- { architecture: arm64, variant: desktop-kde }
- { release: 15.5, variant: cloud }
- {architecture: arm64, variant: desktop-kde}
- {release: 15.5, variant: cloud}
env:
type: "container"
distro: "${{ github.job }}"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/image-slackware.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Build Slackware Images

on:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/image-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
- amd64
# - arm64
exclude:
- { variant: desktop, release: bionic }
- { variant: desktop, release: xenial }
- { variant: desktop, architecture: arm64 }
- {variant: desktop, release: bionic}
- {variant: desktop, release: xenial}
- {variant: desktop, architecture: arm64}

env:
type: "container"
Expand Down

0 comments on commit 5106522

Please sign in to comment.