This is an automated email from the ASF dual-hosted git repository. ppkarwasz pushed a commit to branch 2.25.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 164bb44ec80d25134711041825dc6dc3100af6ea Author: Piotr P. Karwasz <[email protected]> AuthorDate: Tue Aug 18 18:35:07 2026 +0200 Change `build` and `codeql-analysis` triggers Ports #4212 to 2.25.x --- .github/workflows/build.yaml | 12 +++--------- .github/workflows/codeql-analysis.yaml | 14 +++++--------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9566bbb255..73f55e0145 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,18 +19,12 @@ name: build on: push: + # These filters apply only to the current branch (`2.25.x`) and new branches cut from it: + # only `release/2.25.*` branches automatically inherit this workflow. branches: - - "2.x" - "2.25.x" - - "release/2*" + - "release/2.25.*" pull_request: - types: - # Standard types - - opened - - synchronize - - reopened - # Used in Dependabot PRs to retrigger required workflows - - ready_for_review # Cancel in-progress runs when a newer commit lands on the same PR; pushes to 2.x run to completion. concurrency: diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index cf59560a10..cd6dae235b 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -19,16 +19,12 @@ name: codeql-analysis on: push: - branches: [ "2.x", "main" ] + # These filters apply only to the current branch (`2.25.x`) and new branches cut from it: + # only `release/2.25.*` branches automatically inherit this workflow. + branches: + - "2.25.x" + - "release/2.25.*" pull_request: - branches: [ "2.x", "main" ] - types: - # Standard types - - opened - - synchronize - - reopened - # Used in Dependabot PRs to retrigger required workflows - - ready_for_review schedule: - cron: '32 12 * * 5'
