Aggregate Protocol Docs #461
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
| name: Aggregate Protocol Docs | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 */6 * * *' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| aggregate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Sync docs from protocol repos | |
| env: | |
| DOCS_ORG: local-loop-io | |
| DOCS_REPOS: loop-protocol | |
| DOCS_SYNC_TOKEN: ${{ secrets.DOCS_SYNC_TOKEN }} | |
| run: ./scripts/aggregate-docs.sh | |
| - name: Create pull request | |
| uses: peter-evans/create-pull-request@v6 | |
| with: | |
| commit-message: "docs: sync protocol docs" | |
| title: "docs: sync protocol docs" | |
| body: "Automated sync from protocol repositories." | |
| branch: "chore/docs-sync" | |
| delete-branch: true |