Guard tagged release workflows to only run on their target branch
This commit is contained in:
@@ -14,6 +14,7 @@ on:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
if: github.event.release.target_commitish == 'nightly'
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: ${{ matrix.experimental }}
|
||||
strategy:
|
||||
|
||||
@@ -7,6 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
if: github.event.release.target_commitish == 'main'
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: ${{ matrix.experimental }}
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user