Revert "gha: ci-on-push: Depend on Commit Message Check"

This reverts commit a159ffdba7.

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 <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-04-06 18:33:48 +02:00
parent 0d96d49633
commit e7bd2545ef

View File

@ -1,14 +1,9 @@
name: Kata Containers CI name: Kata Containers CI
on: on:
workflow_run: pull_request_target:
workflows:
- Commit Message Check
types:
- completed
jobs: jobs:
build-kata-static-tarball-amd64: build-kata-static-tarball-amd64:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml
with: with:
tarball-suffix: -${{ github.event.pull_request.number}}-${{ github.event.pull_request.head.sha }} tarball-suffix: -${{ github.event.pull_request.number}}-${{ github.event.pull_request.head.sha }}