Skip to content

Commit

Permalink
only run release on non-forks
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed May 24, 2024
1 parent cbbedf1 commit ed16d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

release:
name: Publish package
if: github.event_name == 'push' && github.ref_name == 'main' && needs.build.outputs.version-changed == 'true'
if: github.event_name == 'push' && github.repository == 'Quantco/polarify' && github.ref_name == 'main' && needs.build.outputs.version-changed == 'true'
needs: [build]
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit ed16d6d

Please sign in to comment.