Skip to content

Commit 7897fbb

Browse files
committed
fix(release): gate release pr automation
1 parent 36c3b10 commit 7897fbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions:
2222
jobs:
2323
release-pr:
2424
name: Release PR
25-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
25+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && vars.RELEASE_PLEASE_CREATE_PR == 'true' }}
2626
runs-on: ubuntu-latest
2727

2828
steps:

0 commit comments

Comments
 (0)