diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml new file mode 100644 index 0000000..29cd84b --- /dev/null +++ b/.github/workflows/downstream.yml @@ -0,0 +1,14 @@ +name: Downstream + +# Alert downstream repos +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Alert M3O + run: | + curl -X POST -H "Authorization: token $GH_PAT" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/m3o/m3o/dispatches -d '{"event_type":"micro_services"}' + env: + GH_PAT: ${{ secrets.GH_PAT }}