Skip to content

Commit

Permalink
ci: only run workflow handle-release-pr-title-edit for release PRs (#135
Browse files Browse the repository at this point in the history
)
  • Loading branch information
stainless-bot authored Oct 2, 2023
1 parent 10f5e00 commit ac2424c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/handle-release-pr-title-edit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ jobs:
update_pr_content:
name: Update pull request content
if: |
(github.event.action == 'edited' && github.event.changes.title.from != github.event.pull_request.title) ||
(github.event.action == 'unlabeled' && github.event.label.name == 'autorelease: custom version') &&
((github.event.action == 'edited' && github.event.changes.title.from != github.event.pull_request.title) ||
(github.event.action == 'unlabeled' && github.event.label.name == 'autorelease: custom version')) &&
startsWith(github.event.pull_request.head.ref, 'release-please--') &&
github.event.pull_request.state == 'open' &&
github.event.sender.login != 'stainless-bot' &&
github.repository == 'lithic-com/lithic-go'
Expand Down

0 comments on commit ac2424c

Please sign in to comment.