From 8e39a4140f52cb47b3de3f1f0f5dbaffef11aba1 Mon Sep 17 00:00:00 2001 From: Jamil Date: Mon, 20 Jan 2025 19:25:35 -0800 Subject: [PATCH] fix(ci): Run PR title check on PR edit (#7817) If the PR title violates the length check, editing it and re-running the job wouldn't fix it because the original title was still referenced. To fix this, we introduce a trigger for this check that runs specifically on PR edit. --- .github/workflows/_static-analysis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/_static-analysis.yml b/.github/workflows/_static-analysis.yml index 7bfc3e147..1ce1db634 100644 --- a/.github/workflows/_static-analysis.yml +++ b/.github/workflows/_static-analysis.yml @@ -1,6 +1,8 @@ name: Static Analysis on: workflow_call: + pull_request: + types: [edited] jobs: pr-lint: