Skip to content

Commit 7fce233

Browse files
committed
fix(cd): run release pr maintenance only before merging
1 parent 4b082d4 commit 7fce233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-pr-maintenance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212

1313
jobs:
1414
bump-readme:
15-
if: startsWith(github.event.pull_request.head.ref, 'release-please--')
15+
if: github.event.pull_request.state == 'open' && startsWith(github.event.pull_request.head.ref, 'release-please--')
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout release branch

0 commit comments

Comments
 (0)