From e013ee8e7243fcebe999d6d81a572cc41cefc06a Mon Sep 17 00:00:00 2001 From: Ed Espino Date: Tue, 3 Dec 2024 18:30:06 -0800 Subject: [PATCH] ci: add PR edit trigger to handle CI skip identifier changes - Move CI skip instructions to dedicated section in PR template - Add explicit warning about CI skip usage - Add 'edited' type to PR workflow triggers to detect when skip identifiers are added or removed from PR title/body --- .github/pull_request_template.md | 10 +++++++--- .github/workflows/build-cloudberry.yml | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f8a0f848232..e91e1c6e4d1 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,5 +1,4 @@ - Fixes #ISSUE_Number ### What does this PR do? @@ -41,9 +40,14 @@ Fixes #ISSUE_Number ### Additional Context -⚠️ **To skip CI:** Add `[skip ci]` to your PR title. Only use when necessary! ⚠️ +### CI Skip Instructions + --- \ No newline at end of file +- Discussions: https://github.com/apache/cloudberry/discussions --> diff --git a/.github/workflows/build-cloudberry.yml b/.github/workflows/build-cloudberry.yml index 6ed49e76e65..f5eb3fc5caf 100644 --- a/.github/workflows/build-cloudberry.yml +++ b/.github/workflows/build-cloudberry.yml @@ -99,6 +99,7 @@ on: branches: [main] pull_request: branches: [main] + types: [opened, synchronize, reopened, edited] workflow_dispatch: concurrency: