This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch feat/dependabot-add-changelog
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/feat/dependabot-add-changelog
by this push:
new cc02fd8 fix: add self-reference as input
cc02fd8 is described below
commit cc02fd87e7ecf6143bdfd8eafb917b123a2822b0
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Mon Jun 16 16:25:55 2025 +0200
fix: add self-reference as input
---
.github/workflows/process-dependabot-reusable.yaml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/process-dependabot-reusable.yaml
b/.github/workflows/process-dependabot-reusable.yaml
index ca511ff..c4ef0d9 100644
--- a/.github/workflows/process-dependabot-reusable.yaml
+++ b/.github/workflows/process-dependabot-reusable.yaml
@@ -24,6 +24,13 @@ on:
description: The branch, tag or SHA to checkout
default: ${{ github.ref }}
type: string
+ #
+ # GitHub Actions do not allow the reusable workflow to know its own
reference,
+ # so we need to pass it as an input.
+ #
+ reusable_ref:
+ description: The reusable workflow reference to use
+ type: string
secrets:
AUTO_MERGE_TOKEN:
description: GitHub token to enable auto-merge on PR
@@ -61,7 +68,7 @@ jobs:
with:
repository: apache/logging-parent
path: logging-parent
- ref: ${{ github.workflow_ref }}
+ ref: ${{ inputs.reusable_ref }}
- name: Set up GPG
uses:
crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # 6.3.0