From 14f6bea93fca805c7bb89d968c1bbddb31bc69db Mon Sep 17 00:00:00 2001 From: "F. Talha Altinel" Date: Tue, 24 Dec 2024 00:07:29 +0000 Subject: [PATCH] grant permissions --- .github/workflows/{releaser.yaml => release.yaml} | 6 +++++- .github/workflows/tests.yaml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) rename .github/workflows/{releaser.yaml => release.yaml} (92%) diff --git a/.github/workflows/releaser.yaml b/.github/workflows/release.yaml similarity index 92% rename from .github/workflows/releaser.yaml rename to .github/workflows/release.yaml index fea00c0..c89880f 100644 --- a/.github/workflows/releaser.yaml +++ b/.github/workflows/release.yaml @@ -1,10 +1,14 @@ +name: Release + on: push: branches: [main] tags: - 'v*' -name: GoReleaser +permissions: + contents: write + jobs: release: name: Release diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5a1c18c..0a4b54c 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -7,7 +7,7 @@ on: branches: [ "main" ] jobs: - test: + tests: runs-on: ubuntu-latest steps: - name: Checkout