Skip to content

Commit 329efec

Browse files
intel352claude
andcommitted
ci: preserve verify-capabilities + Publish GitHub release steps
Prior commit dropped the Publish GitHub release step (draft->non-draft flip). Restore it; remove only the broken dispatch + the direct manifest-write step; rename notify-registry -> publish-release; add canonical notify-workflow-registry. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 324ebe9 commit 329efec

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,23 @@ jobs:
9191
fi
9292
"${{ runner.temp }}/wfctl-bin/wfctl" plugin verify-capabilities --binary "$BIN" .
9393
94+
publish-release:
95+
if: startsWith(github.ref, 'refs/tags/v')
96+
needs: [release]
97+
runs-on: ubuntu-latest
98+
steps:
99+
- name: Publish GitHub release
100+
if: ${{ success() }}
101+
env:
102+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103+
run: gh release edit "${{ github.ref_name }}" --draft=false --repo "${{ github.repository }}"
104+
94105
notify-workflow-registry:
95106
name: Notify workflow-registry
96107
runs-on: ubuntu-latest
97108
permissions:
98109
contents: read
99-
needs: release
110+
needs: publish-release
100111
if: >-
101112
!github.event.deleted
102113
&& !contains(github.ref_name, '-')

0 commit comments

Comments
 (0)