From afee599f727eced526b22907fd723f2e3ada7ba5 Mon Sep 17 00:00:00 2001 From: Will Molloy Date: Sat, 25 Jul 2026 12:53:15 +1000 Subject: [PATCH 1/3] ci: drop custom major/minor patterns from semantic-version action Rely on paulhatch/semantic-version v6 conventional-commit defaults (feat:/fix:/BREAKING CHANGE) instead of the (MAJOR)/(MINOR) tags. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/build.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df74f2e..9d9696c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,9 +63,6 @@ jobs: - name: Bump version id: version uses: paulhatch/semantic-version@v6.0.2 - with: - major_pattern: "(MAJOR)" - minor_pattern: "(MINOR)" - name: Create GitHub tag and release uses: softprops/action-gh-release@v3.0.1 From 88e2a06ab48294d98544873c51b54f6c2c8cc872 Mon Sep 17 00:00:00 2001 From: Will Molloy Date: Sat, 25 Jul 2026 12:53:15 +1000 Subject: [PATCH 2/3] ci: add conventional-commits CI check Verify PR titles and commit messages follow conventional commits via amannn/action-semantic-pull-request and wagoid/commitlint-github-action. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/conventional-commits.yml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/conventional-commits.yml diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml new file mode 100644 index 0000000..2d53640 --- /dev/null +++ b/.github/workflows/conventional-commits.yml @@ -0,0 +1,33 @@ +name: conventional-commits +run-name: conventional-commits by @${{ github.actor }} + +on: + pull_request: + types: [ opened, reopened, edited, synchronize ] + push: + branches: [ main ] + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + +jobs: + check-pr-title: + if: github.event_name == 'pull_request' && github.event.action != 'synchronize' + runs-on: ubuntu-slim + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + check-commits: + if: github.event_name == 'push' || github.event_name == 'pull_request' && github.event.action != 'edited' + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: read + steps: + - uses: actions/checkout@v6 + - uses: wagoid/commitlint-github-action@v6 From 4523f62232e3f7928d261e741d2bfbd6c002bfbb Mon Sep 17 00:00:00 2001 From: Will Molloy Date: Sat, 25 Jul 2026 13:26:41 +1000 Subject: [PATCH 3/3] ci: switch lightweight jobs to ubuntu-slim Bump the release and dependency-submission jobs to ubuntu-slim via gh-slimify (fchimpan/gh-slimify). Left the build/integration-test jobs on ubuntu-latest since they run the actual gradle build. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/build.yml | 2 +- .github/workflows/dependency-submission.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d9696c..db12bca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: release: needs: [ build, integration-test ] if: github.event_name == 'push' && github.ref == 'refs/heads/main' - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: contents: write steps: diff --git a/.github/workflows/dependency-submission.yml b/.github/workflows/dependency-submission.yml index 03eb214..0db2698 100644 --- a/.github/workflows/dependency-submission.yml +++ b/.github/workflows/dependency-submission.yml @@ -11,7 +11,7 @@ concurrency: jobs: dependency-submission: - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: contents: write steps: