chore(deps): update dependency go to v1.25.5 #330
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: Stitch README.md | |
| on: | |
| push: | |
| branches: [main] | |
| # Change the event to pull_request_target | |
| # so that it runs in the context of the base repository. | |
| pull_request_target: | |
| jobs: | |
| stitchmd: | |
| name: ${{ github.event_name == 'pull_request_target' && 'Update' || 'Check' }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| ref: ${{ github.head_ref }} | |
| - name: Check or update README | |
| uses: abhinav/stitchmd-action@v2 | |
| with: | |
| mode: ${{ github.event_name == 'pull_request_target' && 'write' || 'check' }} | |
| summary: doc/README.md | |
| output: README.md | |
| - uses: stefanzweifel/git-auto-commit-action@v7 | |
| if: ${{ github.event_name == 'pull_request_target' }} | |
| with: | |
| file_pattern: README.md | |
| commit_message: 'Update README.md' |