Skip to content

Commit 122a195

Browse files
committed
fix: don't run release-please on PRs
1 parent 7bb4461 commit 122a195

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ concurrency:
1212

1313
jobs:
1414
release-please:
15+
# Only run release-please on pushes to main
16+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
1517
runs-on: ubuntu-latest
1618
permissions:
1719
contents: write

0 commit comments

Comments
 (0)