From b092d6286b306b385b3031b9bf66c7cb75861f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Mon, 19 Jun 2023 16:25:27 +0200 Subject: [PATCH] chore: fix token permissions (#7585) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- .github/workflows/fossa.yml | 6 +++--- .github/workflows/helm-test.yaml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 6d4596e8bc..be0eb20af2 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -5,13 +5,13 @@ on: branches: - main +permissions: + contents: read + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -permissions: - contents: read - jobs: fossa-scan: runs-on: ubuntu-latest diff --git a/.github/workflows/helm-test.yaml b/.github/workflows/helm-test.yaml index 578e21aae7..5d02f5b5fe 100644 --- a/.github/workflows/helm-test.yaml +++ b/.github/workflows/helm-test.yaml @@ -9,6 +9,8 @@ on: - charts/** - .github/workflows/helm-test.yaml +permissions: {} + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true