docs(docs): update README #1
This file contains hidden or 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
| # Copy this file to member repos as .github/workflows/trigger-org-sync.yml | |
| # Repository dispatch target is filled by bootstrap_triggers.py | |
| name: Trigger org metadata sync | |
| on: | |
| push: | |
| branches: [main, master] | |
| paths-ignore: | |
| - "index.html" | |
| - ".nojekyll" | |
| - "profile/**" | |
| - ".github/workflows/trigger-org-sync.yml" | |
| workflow_dispatch: | |
| jobs: | |
| dispatch: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Notify org metadata sync | |
| uses: peter-evans/repository-dispatch@v3 | |
| with: | |
| token: ${{ secrets.ORG_SYNC_PAT }} | |
| repository: semcod/.github | |
| event-type: org-repo-changed | |
| client-payload: >- | |
| {"repository":"${{ github.repository }}","ref":"${{ github.ref }}","sha":"${{ github.sha }}"} |