chore: update release.yml to trigger on PR that modifies it

r0.7
Meng Zhang 2023-12-10 12:10:06 +08:00 committed by GitHub
parent 63068724bf
commit 54ffeb9662
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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: