From 8261df19c15da5a288c6b37b297845da9b22bdf7 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 27 Oct 2021 10:15:15 +0100 Subject: [PATCH] Create downstream.yml --- .github/workflows/downstream.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/downstream.yml 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 }}