From 4338a9456b1bd50a72ae8ff9e685b21ec7ce917f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Mon, 11 Sep 2023 21:17:28 +0200 Subject: [PATCH] chore: fix workflow perms and concurrency (#746) 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/ci.yml | 6 ++++++ .github/workflows/test.yml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 561221ec4..2687d026b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,7 @@ name: Policy Test +permissions: {} + on: push: branches: @@ -9,6 +11,10 @@ on: - main - release* +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1dae4387d..2d9e160ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,7 @@ name: Kuttl Tests +permissions: {} + on: workflow_dispatch: {} pull_request: