github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/.github/workflows/downstream.yaml (about)

     1  name: Downstream
     2  # Alert downstream repos
     3  on:
     4    push:
     5      branches:
     6        - master
     7  
     8  jobs:
     9    build:
    10      runs-on: ubuntu-latest
    11      steps:
    12        - name: Alert m3o
    13          run: |
    14            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_release"}'
    15          env:
    16            GH_PAT: ${{ secrets.GH_REPO_DISPATCH_PAT }}
    17