Bump step-security/harden-runner from 2.12.2 to 2.13.0 #202
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
| name: markdown | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/markdown.yml' | |
| - '.github/markdownlint.json' | |
| - '.github/markdownlint.jsonc' | |
| - '**/*.md' | |
| jobs: | |
| linter: | |
| name: Lint markdown files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| if: ${{ !github.event.repository.private }} | |
| uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout devtools | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Register markdownlint warning matcher | |
| run: | | |
| echo "::add-matcher::.github/markdownlint.json" | |
| - name: Lint markdown files | |
| uses: avto-dev/markdown-lint@04d43ee9191307b50935a753da3b775ab695eceb # v1.5.0 | |
| with: | |
| args: '**/*.md' | |
| ignore: '**/testinput/**' | |
| config: '.github/markdownlint.jsonc' | |
| - name: Remove markdownlint warning matcher | |
| if: always() | |
| run: | | |
| echo "::remove-matcher owner=markdownlint::" | |
| check-links: | |
| name: Check markdown links | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout devtools | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Check links | |
| uses: gaurav-nelson/github-action-markdown-link-check@3c3b66f1f7d0900e37b71eca45b63ea9eedfce31 # master | |
| # Checks all Markdown files, including those in subfolders, | |
| # as the PR may involve removing referenced Markdown files. | |
| with: | |
| use-quiet-mode: 'yes' | |
| use-verbose-mode: 'yes' | |
| base-branch: ${{ github.base_ref }} | |
| config-file: '.github/markdown-link-check.jsonc' |