Skip to content

Commit 072e7de

Browse files
owineclaude
andcommitted
fix: remove redundant version info display
Removed confusing duplicate SHA display where github.sha showed the calling repository's SHA (same as target-ref), not the reusable workflow's SHA. The reusable workflow SHA (compose-workflow commit) is already shown in GitHub's auto-generated "Uses:" log line, which we can't control via context variables. Now displays: - Repository and target ref (deployment target) - Stacks being deployed - Runner platform - Note pointing to "Uses:" line for compose-workflow SHA Regarding deployment being skipped: This is correct behavior when the server is already at the target commit. The changed-files conditional prevents "similar hashes" error, and when they match, deployment is correctly skipped (unless force-deploy is true). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 42e6599 commit 072e7de

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,12 @@ jobs:
204204
run: |
205205
echo "📋 Workflow Version Information"
206206
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
207-
echo "Reusable workflow: ${{ github.workflow_ref }}"
208-
echo "Workflow SHA: ${{ github.sha }}"
209207
echo "Repository: ${{ inputs.repo-name }}"
210208
echo "Target ref: ${{ inputs.target-ref }}"
211209
echo "Stacks: ${{ inputs.stacks }}"
212210
echo "Runner: ${{ runner.os }} ${{ runner.arch }}"
211+
echo ""
212+
echo "ℹ️ Reusable workflow SHA shown in 'Uses:' line above"
213213
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
214214
215215
- name: Verify required tools

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ jobs:
7373
run: |
7474
echo "📋 Workflow Version Information"
7575
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
76-
echo "Reusable workflow: ${{ github.workflow_ref }}"
77-
echo "Workflow SHA: ${{ github.sha }}"
7876
echo "Target repository: ${{ inputs.target-repository }}"
7977
echo "Target ref: ${{ inputs.target-ref }}"
8078
echo "Runner: ${{ runner.os }} ${{ runner.arch }}"
79+
echo ""
80+
echo "ℹ️ Reusable workflow SHA shown in 'Uses:' line above"
8181
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
8282
8383
- name: Configure 1Password Service Account
@@ -144,11 +144,11 @@ jobs:
144144
run: |
145145
echo "📋 Workflow Version Information"
146146
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
147-
echo "Reusable workflow: ${{ github.workflow_ref }}"
148-
echo "Workflow SHA: ${{ github.sha }}"
149147
echo "Target repository: ${{ inputs.target-repository }}"
150148
echo "Target ref: ${{ inputs.target-ref }}"
151149
echo "Runner: ${{ runner.os }} ${{ runner.arch }}"
150+
echo ""
151+
echo "ℹ️ Reusable workflow SHA shown in 'Uses:' line above"
152152
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
153153
154154
- name: Run actionlint

0 commit comments

Comments
 (0)