From 54ffeb9662bae4ec76d93b5dc549c38c7d021488 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Sun, 10 Dec 2023 12:10:06 +0800 Subject: [PATCH] chore: update release.yml to trigger on PR that modifies it --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e0e591..1d2b3d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,10 @@ on: tags: - 'v*' - 'nightly' + pull_request: + branches: [ "main" ] + paths: + - '.github/workflows/release.yml' concurrency: group: ${{ github.workflow_ref }}-${{ github.head_ref || github.ref_name }} @@ -19,7 +23,6 @@ env: jobs: release-binary: if: github.event_name != 'pull_request' - needs: tests runs-on: ${{ matrix.os }} container: ${{ matrix.container }} strategy: