From f449225f86e94c06d0966225adde1401e899d7cf Mon Sep 17 00:00:00 2001 From: Nick Cross Date: Wed, 11 Feb 2026 15:04:33 +0000 Subject: [PATCH 1/2] Add validator for actions --- .github/workflows/maven-ci.yml | 2 +- .github/workflows/maven-jib.yml | 3 +-- .github/workflows/maven-set-version.yml | 2 +- .github/workflows/maven-snapshot.yml | 2 +- .github/workflows/validate.yml | 16 ++++++++++++++++ 5 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/validate.yml diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml index fd1a5c0..9b9d770 100644 --- a/.github/workflows/maven-ci.yml +++ b/.github/workflows/maven-ci.yml @@ -29,7 +29,7 @@ on: default: false # cancel in-progress runs of the same workflow -# to avoid unecessary runs when multiple commits pushed +# to avoid unnecessary runs when multiple commits pushed # in a short period of time concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/maven-jib.yml b/.github/workflows/maven-jib.yml index cd96121..531a9fe 100644 --- a/.github/workflows/maven-jib.yml +++ b/.github/workflows/maven-jib.yml @@ -1,5 +1,4 @@ -name: Build the JIB image and upload to the container registry - +# name: Build the JIB image and upload to the container registry ############################################################################### # WIP ############################################################################### diff --git a/.github/workflows/maven-set-version.yml b/.github/workflows/maven-set-version.yml index 8bc2f8a..b56df4e 100644 --- a/.github/workflows/maven-set-version.yml +++ b/.github/workflows/maven-set-version.yml @@ -29,7 +29,7 @@ on: default: '' # cancel in-progress runs of the same workflow -# to avoid unecessary runs when multiple commits pushed +# to avoid unnecessary runs when multiple commits pushed # in a short period of time concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/maven-snapshot.yml b/.github/workflows/maven-snapshot.yml index d6339c2..f26c12c 100644 --- a/.github/workflows/maven-snapshot.yml +++ b/.github/workflows/maven-snapshot.yml @@ -32,7 +32,7 @@ on: required: true # cancel in-progress runs of the same workflow -# to avoid unecessary runs when multiple commits pushed +# to avoid unnecessary runs when multiple commits pushed # in a short period of time concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..8507c50 --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,16 @@ +name: Validate GitHub Actions Workflows + +on: + pull_request: + paths: + - '.github/workflows/*.yml' + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - name: Validate GitHub Actions + uses: jazzsequence/github-action-validator@v1 From 16f5dcf2584c182f07a443dad9ef81e3c066cfe8 Mon Sep 17 00:00:00 2001 From: Nick Cross Date: Wed, 11 Feb 2026 15:21:20 +0000 Subject: [PATCH 2/2] Ensure jib is valid yml --- .github/workflows/maven-jib.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-jib.yml b/.github/workflows/maven-jib.yml index 531a9fe..8af50f2 100644 --- a/.github/workflows/maven-jib.yml +++ b/.github/workflows/maven-jib.yml @@ -1,4 +1,14 @@ -# name: Build the JIB image and upload to the container registry +name: Build the JIB image and upload to the container registry + +on: + workflow_dispatch: + +jobs: + snapshot: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + ############################################################################### # WIP ###############################################################################