From 85a2806e7bf474ba36285b243cc987b65f9c4a13 Mon Sep 17 00:00:00 2001 From: frag223 Date: Thu, 24 Sep 2026 07:20:25 +1000 Subject: [PATCH 1/3] fix: migrate releaser --- .github/workflows/release.yaml | 11 +++++++++-- .releaserc | 8 -------- .releaserc.json | 10 ++++++++++ 3 files changed, 19 insertions(+), 10 deletions(-) delete mode 100644 .releaserc create mode 100644 .releaserc.json diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d70f185..75f9f8e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,14 +6,21 @@ on: permissions: contents: write + issues: write + pull-requests: write jobs: release: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Release - uses: codfish/semantic-release-action@v5.0.0 + uses: cycjimmy/semantic-release-action@v4 + with: + extra_plugins: | + @semantic-release/github env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.releaserc b/.releaserc deleted file mode 100644 index afad3b4..0000000 --- a/.releaserc +++ /dev/null @@ -1,8 +0,0 @@ -branches: - - name: "main" - -plugins: - - "@semantic-release/commit-analyzer" - - "@semantic-release/release-notes-generator" - - "@semantic-release/github" - diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 0000000..548e644 --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,10 @@ +{ + "branches": [ + "main" + ], + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + "@semantic-release/github" + ] +} From 6191c8ec4c81d503e5b6c17363dc8f6e4e525b88 Mon Sep 17 00:00:00 2001 From: frag223 Date: Thu, 24 Sep 2026 07:23:30 +1000 Subject: [PATCH 2/3] fix: update linter --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5ea038d..e0126ec 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ scan: ## run security scan tools-get: ## Get project tools required go install golang.org/x/vuln/cmd/govulncheck@latest - go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.2.2 + go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.13.2 # HELP # This will output the help for each task From 3cdee1a063b68c782841906dcb5fb536b7f88ec3 Mon Sep 17 00:00:00 2001 From: frag223 Date: Thu, 24 Sep 2026 07:23:51 +1000 Subject: [PATCH 3/3] fix: bump version --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 9b7ebd8..b40f002 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/code-gorilla-au/odize -go 1.25.0 +go 1.27.1 require github.com/code-gorilla-au/env v1.1.1