Skip to content

Commit 15c9d0a

Browse files
committed
ci: only run workflow handle-release-pr-title-edit for release PRs (#87)
1 parent 0ee099f commit 15c9d0a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
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 == 'lithic-com/lithic-java'

0 commit comments

Comments
 (0)