From c9c6c6630ea0875a419135a87f26b164ec1cdf5f Mon Sep 17 00:00:00 2001 From: Ilya Andreev <18560147+andreev-io@users.noreply.github.com> Date: Fri, 24 Jan 2025 15:22:53 +0000 Subject: [PATCH] Reinstate workflow permissions --- .github/workflows/kubenetmon.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/kubenetmon.yaml b/.github/workflows/kubenetmon.yaml index c9fc994..ebc6f9c 100644 --- a/.github/workflows/kubenetmon.yaml +++ b/.github/workflows/kubenetmon.yaml @@ -159,6 +159,9 @@ jobs: needs: [golangci, test, build-docker-image, helm-test] runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') + permissions: + contents: read + packages: write steps: - name: Checkout code uses: actions/checkout@v4 @@ -200,6 +203,9 @@ jobs: needs: [golangci, test, build-docker-image, helm-test] runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') + permissions: + contents: write + packages: write steps: - name: Checkout code uses: actions/checkout@v4