Skip to content

Commit cff7db6

Browse files
committed
ci(release): notify workflow-registry on tag publish (G1)
1 parent 9c46201 commit cff7db6

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,17 @@ jobs:
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
run: gh release edit "${{ github.ref_name }}" --draft=false --repo "${{ github.repository }}"
36+
37+
notify-workflow-registry:
38+
name: Notify workflow-registry
39+
runs-on: ubuntu-latest
40+
needs: release
41+
if: ${{ !contains(inputs.tag_name || github.ref_name, '-') }}
42+
steps:
43+
- name: Trigger registry manifest sync
44+
uses: peter-evans/repository-dispatch@v4
45+
with:
46+
token: ${{ secrets.repo_dispatch_token }}
47+
repository: GoCodeAlone/workflow-registry
48+
event-type: plugin-release
49+
client-payload: '{"plugin": "data-engineering"}'

0 commit comments

Comments
 (0)