Skip to content

Commit bd07c7f

Browse files
ci: only run workflow handle-release-pr-title-edit for release PRs (#112)
1 parent a54268b commit bd07c7f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/handle-release-pr-title-edit.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ jobs:
99
update_pr_content:
1010
name: Update pull request content
1111
if: |
12-
(github.event.action == 'edited' && github.event.changes.title.from != github.event.pull_request.title) ||
13-
(github.event.action == 'unlabeled' && github.event.label.name == 'autorelease: custom version') &&
12+
((github.event.action == 'edited' && github.event.changes.title.from != github.event.pull_request.title) ||
13+
(github.event.action == 'unlabeled' && github.event.label.name == 'autorelease: custom version')) &&
14+
startsWith(github.event.pull_request.head.ref, 'release-please--') &&
1415
github.event.pull_request.state == 'open' &&
1516
github.event.sender.login != 'stainless-bot' &&
1617
github.repository == 'Finch-API/finch-api-python'

0 commit comments

Comments
 (0)