Skip to content

Bump step-security/harden-runner from 2.15.0 to 2.15.1 #226

Bump step-security/harden-runner from 2.15.0 to 2.15.1

Bump step-security/harden-runner from 2.15.0 to 2.15.1 #226

Workflow file for this run

name: markdown
on:
pull_request:
paths:
- '.github/workflows/markdown.yml'
- '.github/markdownlint.json'
- '.github/markdownlint.jsonc'
- '**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
linter:
name: Lint markdown files
runs-on: ubuntu-latest
steps:
- name: Harden Runner
if: ${{ !github.event.repository.private }}
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
with:
egress-policy: audit
- name: Checkout devtools
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check markdown links
uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225 # v1.1.2
with:
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
config-file: '.github/markdown-link-check.jsonc'