gha: ci-on-push: Only run on main branch

Let's ensure we're only running this workflow when PRs are opened
against the main branch.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-04-06 18:40:23 +02:00
parent e7bd2545ef
commit 2f35b4d4e5

View File

@ -1,6 +1,8 @@
name: Kata Containers CI
on:
pull_request_target:
branches:
- 'main'
jobs:
build-kata-static-tarball-amd64: