From 2d4df690d864eaa91ece255e30dbeeae2d50fd23 Mon Sep 17 00:00:00 2001 From: Domenico Di Ruocco Date: Fri, 21 Jun 2024 14:08:40 +0200 Subject: [PATCH] ci: update actions OTT-6126 --- .github/workflows/release.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fbb7792..ab6e5f2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,6 +4,9 @@ on: release: types: [published] +permissions: + contents: write + env: GO_VERSION: 1.22 @@ -11,9 +14,9 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch --prune --unshallow - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - uses: crazy-max/ghaction-import-gpg@v5