notify in release

This commit is contained in:
hobbes7878 2025-10-24 18:37:23 +01:00
parent f1917551f8
commit 022d0dcad5
Failed to extract signature
3 changed files with 20 additions and 20 deletions

View file

@ -0,0 +1,5 @@
---
"@reuters-graphics/graphics-components": patch
---
Test downstream notification workflow with updated reusable workflow

View file

@ -1,20 +0,0 @@
name: Notify downstream repositories
on:
push:
tags:
- 'v*'
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Wait for npm propagation
run: sleep 30
- name: Dispatch to bluprint_graphics-kit
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.REPO_PAT_TOKEN }}
repository: reuters-graphics/bluprint_graphics-kit
event-type: dependency-updated

View file

@ -12,3 +12,18 @@ jobs:
with: with:
node_version: '20' node_version: '20'
publish_docs: true publish_docs: true
notify-downstream:
needs: release
if: needs.release.outputs.published == 'true'
runs-on: ubuntu-latest
steps:
- name: Wait for npm propagation
run: sleep 30
- name: Dispatch to bluprint_graphics-kit
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.REPO_PAT_TOKEN }}
repository: reuters-graphics/bluprint_graphics-kit
event-type: dependency-updated