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

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


The following commit(s) were added to refs/heads/main by this push:
     new e7826566b5 Disable Develocity on `release` branches
e7826566b5 is described below

commit e7826566b5030778d98471b9beac80c22fa6864d
Author: Piotr P. Karwasz <[email protected]>
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 508d0d6cd3..baedce788e 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:
       site-enabled: true
 

Reply via email to