chore: update release.yml to trigger on PR that modifies it
parent
63068724bf
commit
54ffeb9662
|
|
@ -6,6 +6,10 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
- 'nightly'
|
- 'nightly'
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
paths:
|
||||||
|
- '.github/workflows/release.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow_ref }}-${{ github.head_ref || github.ref_name }}
|
group: ${{ github.workflow_ref }}-${{ github.head_ref || github.ref_name }}
|
||||||
|
|
@ -19,7 +23,6 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
release-binary:
|
release-binary:
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
needs: tests
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue