From 1dff2503a63f1eed4ea53c4b3dca25efda7c2677 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 28 Feb 2024 13:16:18 +0000 Subject: [PATCH] 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 (cherry picked from commit 022f375ef86f6b099b68144c9a85dcecc95492ef) --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8c2d36a31..99ec61036 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: