From a242c7da1a396b26b2e92dd2e71a0cdf405442c9 Mon Sep 17 00:00:00 2001 From: Kapil Garg Date: Sat, 13 Sep 2025 12:41:25 +0530 Subject: [PATCH 1/2] Run global checks and validate description when label is added to PR Currently, global check workflows do not trigger when a bot user makes a commit to the PR. This happens in flow repo quite a lot as we have some bots committing to auto fix lint issues and for dummy commits to trigger e2e runs. Since global checks do not run, the PR gets stuck and requires a manual dummy commit and running the e2e tests again. Adding a trigger for global checks on label added to manually trigger the workflow without need for a commit and running CCI tests again. --- .github/workflows/validate-description.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-description.yml b/.github/workflows/validate-description.yml index 796bb13..7e180a1 100644 --- a/.github/workflows/validate-description.yml +++ b/.github/workflows/validate-description.yml @@ -5,7 +5,7 @@ on: # Do check out and run code from the pull request's head commit. # It is suitable for this usecase as we are only looking at PR description. pull_request_target: - types: [opened, synchronize, reopened, edited] + types: [opened, synchronize, reopened, edited, labeled] jobs: validate_description: From 5ff766f0034a337743057e06e5f5e5bb2db67181 Mon Sep 17 00:00:00 2001 From: Kapil Garg Date: Sat, 13 Sep 2025 12:44:18 +0530 Subject: [PATCH 2/2] Update global-checks.yml --- .github/workflows/global-checks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/global-checks.yml b/.github/workflows/global-checks.yml index 19cbcae..a2b587c 100644 --- a/.github/workflows/global-checks.yml +++ b/.github/workflows/global-checks.yml @@ -1,6 +1,8 @@ name: global checks -on: pull_request +on: + pull_request: + types: [opened, synchronize, reopened, labeled] jobs: global_checks: