Skip to content

Commit 137aaf3

Browse files
committed
Address workflow review feedback for wiki release handling
1 parent 221fb99 commit 137aaf3

2 files changed

Lines changed: 16 additions & 9 deletions

File tree

.github/workflows/changelog.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,13 @@ jobs:
352352
pull: "--rebase --autostash"
353353
push: true
354354

355+
- name: Dispatch tests for release wiki pointer commit
356+
if: ${{ steps.refresh_release_wiki.outputs.pointer-changed == 'true' }}
357+
env:
358+
GH_TOKEN: ${{ github.token }}
359+
BASE_REF: ${{ github.event.pull_request.base.ref }}
360+
run: gh workflow run tests.yml --ref "${BASE_REF}" -f publish-required-statuses=true
361+
355362
- uses: actions/checkout@v6
356363
- name: Checkout dev-tools workflow action source
357364
uses: actions/checkout@v6
@@ -381,6 +388,7 @@ jobs:
381388
- Release URL: ${{ steps.publish_release.outputs.url }}
382389
- Wiki publish refresh: `${{ steps.refresh_release_wiki.outputs.published == 'true' && 'published' || 'unchanged' }}`
383390
- Wiki pointer reconciliation: `${{ steps.refresh_release_wiki.outputs.pointer-changed == 'true' && 'updated' || 'unchanged' }}`
391+
- Required test dispatch: `${{ steps.refresh_release_wiki.outputs.pointer-changed == 'true' && 'requested' || 'not needed' }}`
384392
- Project items released: `${{ steps.release_project_status.outputs.moved-count }}`
385393
- Project items skipped: `${{ steps.release_project_status.outputs.skipped-count }}`
386394
- Project source statuses: `${{ steps.release_project_status.outputs.source-statuses }}`

.github/workflows/wiki-maintenance.yml

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

9292
steps:
93-
- name: Explain release publish handling
94-
run: |
95-
{
96-
echo "## Wiki Publish Summary"
97-
echo
98-
echo "- Publish branch: \`master\`"
99-
echo "- Release branch: \`${{ github.event.pull_request.head.ref }}\`"
100-
echo "- Action: skipped preview-branch publication because merged release branches are refreshed from the authoritative released state by \`changelog.yml\`."
101-
} >> "$GITHUB_STEP_SUMMARY"
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`.
102101
103102
cleanup_closed_preview:
104103
name: Delete Closed PR Wiki Preview

0 commit comments

Comments
 (0)