From e7bd2545ef680ad89e1a6abed948649ddbe874c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Thu, 6 Apr 2023 18:33:48 +0200 Subject: [PATCH] Revert "gha: ci-on-push: Depend on Commit Message Check" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a159ffdba7835011abc8c6369e07dd4a52010bbf. Unfortunately we have to revert the PRs related to the switch done to using `workflow_run` instead of `pull_request_target`. The reason for that being that we can only mark jobs as required if they are targetting PRs. Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/ci-on-push.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci-on-push.yaml b/.github/workflows/ci-on-push.yaml index 242c62c17c..8a08d6b6ee 100644 --- a/.github/workflows/ci-on-push.yaml +++ b/.github/workflows/ci-on-push.yaml @@ -1,14 +1,9 @@ name: Kata Containers CI on: - workflow_run: - workflows: - - Commit Message Check - types: - - completed + pull_request_target: jobs: build-kata-static-tarball-amd64: - if: ${{ github.event.workflow_run.conclusion == 'success' }} uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml with: tarball-suffix: -${{ github.event.pull_request.number}}-${{ github.event.pull_request.head.sha }}