feat: move command (#12) #3
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: Update README | |
| on: | |
| push: | |
| paths: | |
| - "pkg/cmd/**" | |
| - "internal/docs/**" | |
| permissions: | |
| contents: write | |
| jobs: | |
| readme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: Generate new README | |
| run: go run ./internal/docs | |
| - name: Create new PR if changes | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| commit-message: "docs: update README" | |
| title: "docs: update README" | |
| body: | | |
| This PR was auto-generated because relevant code changed. | |
| - Generator: `go run ./tools/gen-docs` | |
| branch: chore/update-readme | |
| add-paths: | | |
| README.md |