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 b63c6b7fb3 Bump reusable workflows to version `11.2.0`
b63c6b7fb3 is described below
commit b63c6b7fb37bf1fd05d143581f2e8be837f1f92f
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Mon Sep 2 21:16:40 2024 +0200
Bump reusable workflows to version `11.2.0`
---
.github/workflows/build.yaml | 13 ++++++-------
.github/workflows/codeql-analysis.yaml | 2 +-
.github/workflows/deploy-site.yaml | 9 +++------
.github/workflows/merge-dependabot.yaml | 4 ++--
4 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 0db679fb09..313143fd6a 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -30,19 +30,18 @@ jobs:
build:
if: github.actor != 'dependabot[bot]'
- # Temporary use `develocity` branch
- uses:
apache/logging-parent/.github/workflows/build-reusable.yaml@develocity
+ uses:
apache/logging-parent/.github/workflows/build-reusable.yaml@rel/11.2.0
secrets:
- DV_ACCESS_TOKEN: ${{ ! startsWith(github.refname, 'release/') &&
secrets.GE_ACCESS_TOKEN }}
+ DV_ACCESS_TOKEN: ${{ ! startsWith(github.ref_name, 'release/') &&
secrets.GE_ACCESS_TOKEN }}
with:
site-enabled: true
- reproducibility-check-enabled: false
- develocity-enabled: true
+ reproducibility-check-enabled: ${{ startsWith(github.ref_name,
'release/') }}
+ develocity-enabled: ${{ ! startsWith(github.ref_name, 'release/') }}
deploy-snapshot:
needs: build
if: github.repository == 'apache/logging-log4j2' && github.ref_name ==
'main'
- uses:
apache/logging-parent/.github/workflows/deploy-snapshot-reusable.yaml@rel/11.1.0
+ uses:
apache/logging-parent/.github/workflows/deploy-snapshot-reusable.yaml@rel/11.2.0
# Secrets for deployments
secrets:
NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
@@ -51,7 +50,7 @@ jobs:
deploy-release:
needs: build
if: github.repository == 'apache/logging-log4j2' &&
startsWith(github.ref_name, 'release/')
- uses:
apache/logging-parent/.github/workflows/deploy-release-reusable.yaml@rel/11.1.0
+ uses:
apache/logging-parent/.github/workflows/deploy-release-reusable.yaml@rel/11.2.0
# Secrets for deployments
secrets:
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }}
diff --git a/.github/workflows/codeql-analysis.yaml
b/.github/workflows/codeql-analysis.yaml
index f7d0ba58d7..9cdbdbea15 100644
--- a/.github/workflows/codeql-analysis.yaml
+++ b/.github/workflows/codeql-analysis.yaml
@@ -30,7 +30,7 @@ permissions: read-all
jobs:
analyze:
- uses:
apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@rel/11.1.0
+ uses:
apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@rel/11.2.0
with:
java-version: 17
# Permissions required to publish Security Alerts
diff --git a/.github/workflows/deploy-site.yaml
b/.github/workflows/deploy-site.yaml
index 67ed6ec3f7..49543e7433 100644
--- a/.github/workflows/deploy-site.yaml
+++ b/.github/workflows/deploy-site.yaml
@@ -29,14 +29,11 @@ on:
permissions: read-all
-env:
- DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
-
jobs:
deploy-site-stg:
if: github.repository == 'apache/logging-log4j2' && github.ref_name ==
'main'
- uses:
apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.1.0
+ uses:
apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.2.0
# Secrets for committing the generated site
secrets:
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }}
@@ -54,7 +51,7 @@ jobs:
deploy-site-pro:
if: github.repository == 'apache/logging-log4j2' && github.ref_name ==
'main-site-pro'
- uses:
apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.1.0
+ uses:
apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.2.0
# Secrets for committing the generated site
secrets:
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }}
@@ -84,7 +81,7 @@ jobs:
deploy-site-rel:
needs: export-version
- uses:
apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.1.0
+ uses:
apache/logging-parent/.github/workflows/deploy-site-reusable.yaml@rel/11.2.0
# Secrets for committing the generated site
secrets:
GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }}
diff --git a/.github/workflows/merge-dependabot.yaml
b/.github/workflows/merge-dependabot.yaml
index ca7e262aee..8fb5be956b 100644
--- a/.github/workflows/merge-dependabot.yaml
+++ b/.github/workflows/merge-dependabot.yaml
@@ -31,7 +31,7 @@ jobs:
build:
if: github.repository == 'apache/logging-log4j2' && github.event_name ==
'pull_request_target' && github.actor == 'dependabot[bot]'
# Temporary use `develocity` branch
- uses:
apache/logging-parent/.github/workflows/build-reusable.yaml@develocity
+ uses:
apache/logging-parent/.github/workflows/build-reusable.yaml@rel/11.2.0
secrets:
DV_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
with:
@@ -40,7 +40,7 @@ jobs:
merge-dependabot:
needs: build
- uses:
apache/logging-parent/.github/workflows/merge-dependabot-reusable.yaml@rel/11.1.0
+ uses:
apache/logging-parent/.github/workflows/merge-dependabot-reusable.yaml@rel/11.2.0
permissions:
contents: write # to push
changelog commits
pull-requests: write # to close
the PR