build: Skip release check on pull requests

This takes a long time and duplicates existing checks on the pull
requests.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
Rob Bradford 2024-02-28 13:16:18 +00:00
parent 81b95023c4
commit 022f375ef8

View File

@ -1,9 +1,9 @@
name: Cloud Hypervisor Release
on: [pull_request, create, merge_group]
on: [create, merge_group]
jobs:
release:
if: (github.event_name == 'create' && github.event.ref_type == 'tag') || github.event_name == 'pull_request' || github.event_name == 'merge_group'
if: (github.event_name == 'create' && github.event.ref_type == 'tag') || github.event_name == 'merge_group'
name: Release
runs-on: ubuntu-latest
steps: