From 20750fd3ff65539957faa0e020fcfdac982e9f29 Mon Sep 17 00:00:00 2001 From: Tatsinnit Date: Mon, 22 Jan 2024 12:01:24 +1300 Subject: [PATCH] Changes in correlation with new GH Action Permission Changes. Signed-off-by: Tatsinnit --- .github/workflows/build.yml | 5 +++++ .github/workflows/golangci-lint.yml | 5 +++++ .github/workflows/release.yml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 92863b65..8c004faf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,11 @@ jobs: build: name: Build runs-on: ubuntu-latest + permissions: + actions: read + contents: read + deployments: read + packages: none env: GO111MODULE: on steps: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index ece7dbaf..2aedb6ac 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -20,6 +20,11 @@ jobs: golangci: name: lint runs-on: ubuntu-latest + permissions: + actions: read + contents: read + deployments: read + packages: none steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31e84d53..b40b0333 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,11 @@ jobs: build: name: Build runs-on: ubuntu-latest + permissions: + actions: read + contents: write + deployments: read + packages: none env: GO111MODULE: on steps: