refactor(agents): extract AGENTS.md subsystem gotchas into repo-local… #14
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: Wiki Sync | |
| "on": | |
| push: | |
| branches: [main] | |
| paths: | |
| - docs/** | |
| - .github/workflows/wiki-sync.yml | |
| workflow_dispatch: null | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| sync-wiki: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| persist-credentials: false | |
| # NOTE: The repository wiki must be initialized first (create one wiki page manually). | |
| - name: Sync docs to wiki | |
| uses: Andrew-Chen-Wang/github-wiki-action@64efa0a9436db17670a2259e0ac249d6f08bb352 # v5.0.4 | |
| with: | |
| path: docs/ | |
| preprocess: true | |
| disable-empty-commits: true |