You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2024/06/14 19:55:20 UTC

(logging-log4j2) branch 2.x updated: Disable Develocity on `release` branches

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

pkarwasz 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 a1e65cb1ae Disable Develocity on `release` branches
a1e65cb1ae is described below

commit a1e65cb1ae58b22464990b886016a074c91fff84
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Fri Jun 14 21:54:57 2024 +0200

    Disable Develocity on `release` branches
---
 .github/workflows/build.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 43e859cf60..1fc9ab155e 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -33,7 +33,7 @@ jobs:
     # Temporary use `develocity` branch
     uses: apache/logging-parent/.github/workflows/build-reusable.yaml@develocity
     secrets:
-      GE_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
+      GE_ACCESS_TOKEN: ${{ ! startsWith(github.refname, 'release/3') && secrets.GE_ACCESS_TOKEN }}
     with:
       java-version: |
         8