Skip to content

Commit 6c4398c

Browse files
committed
chore: include workflow-file hash in commit message
1 parent da2eaf5 commit 6c4398c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/rename-module.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
env:
2525
WORKFLOW_HASH: ${{ hashFiles('.github/workflows/rename-module.yml') }}
2626
run: |
27+
echo "WORKFLOW_HASH=${WORKFLOW_HASH}" >> "$GITHUB_OUTPUT";
2728
echo "DEST_BRANCH=auto-rename-module_source-${{ inputs.source_commit }}_workflow-${WORKFLOW_HASH}-${{ github.ref_name }}" \
2829
>> "$GITHUB_OUTPUT";
2930
@@ -70,6 +71,6 @@ jobs:
7071
env:
7172
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
7273
with:
73-
commit_message: "[AUTO] rename Go module + update internal import paths"
74+
commit_message: "[AUTO] rename Go module + update internal import paths\n\nWorkflow: ${{ steps.vars.outputs.WORKFLOW_HASH }} on branch ${{ github.ref_name }}"
7475
repo: ${{ github.repository }}
7576
branch: ${{ steps.vars.outputs.DEST_BRANCH }}

0 commit comments

Comments
 (0)