This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/2.x by this push:
     new 62c3b5c74e Switch CI release trigger prefix to `release/2`
62c3b5c74e is described below

commit 62c3b5c74ec6e2ca014e74bb7bf547b661099724
Author: Volkan Yazıcı <vol...@yazi.ci>
AuthorDate: Thu Apr 18 16:06:06 2024 +0200

    Switch CI release trigger prefix to `release/2`
---
 .github/workflows/build.yaml       | 4 ++--
 .github/workflows/deploy-site.yaml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index fabfa5569f..a041ad70ce 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -21,7 +21,7 @@ on:
   push:
     branches:
       - "2.x"
-      - "release/*"
+      - "release/2*"
     paths-ignore:
       - "**.adoc"
       - "**.md"
@@ -60,7 +60,7 @@ jobs:
 
   deploy-release:
     needs: build
-    if: github.repository == 'apache/logging-log4j2' && 
startsWith(github.ref_name, 'release/')
+    if: github.repository == 'apache/logging-log4j2' && 
startsWith(github.ref_name, 'release/2')
     uses: 
apache/logging-parent/.github/workflows/deploy-release-reusable.yaml@rel/11.0.0
     # Secrets for deployments
     secrets:
diff --git a/.github/workflows/deploy-site.yaml 
b/.github/workflows/deploy-site.yaml
index b918eb048f..3b6803c523 100644
--- a/.github/workflows/deploy-site.yaml
+++ b/.github/workflows/deploy-site.yaml
@@ -22,7 +22,7 @@ on:
     branches:
       - "2.x"
       - "2.x-site-pro"
-      - "release/*"
+      - "release/2*"
     paths-ignore:
       - "**.md"
       - "**.txt"
@@ -68,7 +68,7 @@ jobs:
       target-branch: ${{ github.ref_name }}-out
 
   export-version:
-    if: github.repository == 'apache/logging-log4j2' && 
startsWith(github.ref_name, 'release/')
+    if: github.repository == 'apache/logging-log4j2' && 
startsWith(github.ref_name, 'release/2')
     runs-on: ubuntu-latest
     outputs:
       version: ${{ steps.export-version.outputs.version }}

Reply via email to