From 14508f64760ab0a8794464fcf00832330f3398e3 Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Wed, 21 Aug 2024 10:35:56 -0600 Subject: [PATCH] Fixed deprecation warning and permissions --- .github/workflows/main.yml | 4 +++- .goreleaser.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5227ed9..28b8070 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,9 @@ on: tags: - v* -permissions: write-all # Necessary for the generate-build-provenance action with containers +permissions: + packages: write + contents: read jobs: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 4ce72ea..ed4d7dc 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -46,7 +46,7 @@ dockers: checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ incpatch .Version }}-next" + version_template: "{{ incpatch .Version }}-next" changelog: sort: asc filters: