From ce5e1fda433517b291738062495e32b1b651c547 Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Fri, 15 Sep 2023 12:07:10 +0000 Subject: [PATCH] ci: fix handle-release-pr-title-edit workflow --- .github/workflows/handle-release-pr-title-edit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/handle-release-pr-title-edit.yml b/.github/workflows/handle-release-pr-title-edit.yml index 86f5518..f5b782e 100644 --- a/.github/workflows/handle-release-pr-title-edit.yml +++ b/.github/workflows/handle-release-pr-title-edit.yml @@ -9,8 +9,8 @@ jobs: update_pr_content: name: Update pull request content if: | - (github.event.type == 'edited' && github.event.changes.title.from != github.event.pull_request.title) || - (github.event.type == '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') && github.event.pull_request.state == 'open' && github.event.sender.login != 'stainless-bot' && github.repository == 'lithic-com/lithic-go'