From 8f4549e29c19f8d5d424e6507ef878306c3b8959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Wed, 10 Jan 2024 23:42:17 +0100 Subject: [PATCH] chore: more ci (#4) 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/action.yml | 26 +++++++++++++------------- .github/workflows/check-actions.yaml | 3 +++ 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 2f631f1..03858ab 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -204,16 +204,16 @@ jobs: - name: Check install run: kyverno-json version - # required: - # needs: - # - default - # - verify - # - release - # - custom - # - wrong_version - # - custom_dir - # - custom_dir_root - # - main - # runs-on: ubuntu-latest - # steps: - # - run: echo "Required jobs success!" + required: + needs: + - default + - verify + - release + - custom + - wrong_version + - custom_dir + - custom_dir_root + - main + runs-on: ubuntu-latest + steps: + - run: echo "Required jobs success!" diff --git a/.github/workflows/check-actions.yaml b/.github/workflows/check-actions.yaml index c576ac1..29a480c 100644 --- a/.github/workflows/check-actions.yaml +++ b/.github/workflows/check-actions.yaml @@ -18,3 +18,6 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Ensure SHA pinned actions uses: zgosalvez/github-actions-ensure-sha-pinned-actions@ba37328d4ea95eaf8b3bd6c6cef308f709a5f2ec # v3.0.3 + with: + allowlist: | + kyverno/action-install-kyverno-json