chore: update permissions.md #341
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger update to partners.pactflow.io | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '**.md' | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger docs.pact.io update workflow | |
run: | | |
curl -X POST https://api.github.com/repos/pactflow/partners.pactflow.io/dispatches \ | |
-H 'Accept: application/vnd.github.everest-preview+json' \ | |
-H "Authorization: Bearer $GITHUB_TOKEN" \ | |
-d '{"event_type": "pactflow-docs-updated"}' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GHTOKENFORTRIGGERINGPACTDOCSUPDATE }} |