Skip to content

Commit 18dc594

Browse files
authored
Skip release-plz jobs on forks (#873)
1 parent 4327d6b commit 18dc594

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313
# Release unpublished packages.
1414
release-plz-release:
15+
if: ${{ github.repository_owner == 'salsa-rs' }}
1516
name: Release-plz release
1617
runs-on: ubuntu-latest
1718
permissions:
@@ -33,6 +34,7 @@ jobs:
3334

3435
# Create a PR with the new versions and changelog, preparing the next release.
3536
release-plz-pr:
37+
if: ${{ github.repository_owner == 'salsa-rs' }}
3638
name: Release-plz PR
3739
runs-on: ubuntu-latest
3840
permissions:

0 commit comments

Comments
 (0)