Skip to content

Commit cad9c63

Browse files
committed
Fix release wiki skip summary without local action checkout
1 parent c64a2ca commit cad9c63

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/wiki-maintenance.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,16 @@ jobs:
9090
runs-on: ubuntu-latest
9191

9292
steps:
93-
- uses: ./.dev-tools-actions/.github/actions/summary/write
94-
with:
95-
markdown: |
96-
## Wiki Publish Summary
97-
98-
- Publish branch: `master`
99-
- Release branch: `${{ github.event.pull_request.head.ref }}`
100-
- Action: skipped preview-branch publication because merged release branches are refreshed from the authoritative released state by `changelog.yml`.
93+
- name: Explain release publish handling
94+
env:
95+
RELEASE_BRANCH: ${{ github.event.pull_request.head.ref }}
96+
run: |
97+
{
98+
printf '## Wiki Publish Summary\n\n'
99+
printf -- '- Publish branch: `master`\n'
100+
printf -- '- Release branch: `%s`\n' "$RELEASE_BRANCH"
101+
printf -- '- Action: skipped preview-branch publication because merged release branches are refreshed from the authoritative released state by `changelog.yml`.\n'
102+
} >> "$GITHUB_STEP_SUMMARY"
101103
102104
cleanup_closed_preview:
103105
name: Delete Closed PR Wiki Preview

0 commit comments

Comments
 (0)