From 1b69f9e7f601a8046d1368a0fb87ba40608ef57f Mon Sep 17 00:00:00 2001 From: Sam <109683132+kernelsam@users.noreply.github.com> Date: Tue, 30 Jan 2024 17:52:47 -0800 Subject: [PATCH] senzing-factory/build-resources#15 update go workflow permissions (#179) --- .github/workflows/make-github-release-assets-darwin.yaml | 4 +++- .github/workflows/make-github-release-assets-linux.yaml | 4 +++- .github/workflows/make-github-release-assets-windows.yaml | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/make-github-release-assets-darwin.yaml b/.github/workflows/make-github-release-assets-darwin.yaml index 86cfedd..19a8290 100644 --- a/.github/workflows/make-github-release-assets-darwin.yaml +++ b/.github/workflows/make-github-release-assets-darwin.yaml @@ -1,10 +1,12 @@ name: "make github release assets darwin" + on: push: tags: - "[0-9]+.[0-9]+.[0-9]+" -permissions: write-all +permissions: + contents: write jobs: build: diff --git a/.github/workflows/make-github-release-assets-linux.yaml b/.github/workflows/make-github-release-assets-linux.yaml index 466d47a..216ec4c 100644 --- a/.github/workflows/make-github-release-assets-linux.yaml +++ b/.github/workflows/make-github-release-assets-linux.yaml @@ -1,10 +1,12 @@ name: "make github release assets linux" + on: push: tags: - "[0-9]+.[0-9]+.[0-9]+" -permissions: write-all +permissions: + contents: write jobs: build: diff --git a/.github/workflows/make-github-release-assets-windows.yaml b/.github/workflows/make-github-release-assets-windows.yaml index 587d166..ead5e00 100644 --- a/.github/workflows/make-github-release-assets-windows.yaml +++ b/.github/workflows/make-github-release-assets-windows.yaml @@ -5,7 +5,8 @@ on: tags: - "[0-9]+.[0-9]+.[0-9]+" -permissions: write-all +permissions: + contents: write jobs: build: