chore(deps): update amannn/action-semantic-pull-request action to v6.1.1 #10
Workflow file for this run
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
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| validate_docs: | |
| name: Validate CLI Docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Set up Go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Build CLI docs | |
| run: make docs | |
| - name: Detect Uncommitted Docs | |
| id: validate_docs | |
| run: make docs-check | |
| - uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4 | |
| if: always() && (steps.validate_docs.outcome == 'failure') | |
| with: | |
| header: pr-docs-error | |
| message: | | |
| Uncommitted changes were detected in the `docs/` directory. Please run `make docs` and commit the changes to your branch. | |
| # Delete a previous comment when the docs have been updated | |
| - if: ${{ steps.validate_docs.outcome == 'success' }} | |
| uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4 | |
| with: | |
| header: pr-docs-error | |
| delete: true |