Skip to content

build: Bump step-security/harden-runner from 2.19.1 to 2.19.3 #2020

build: Bump step-security/harden-runner from 2.19.1 to 2.19.3

build: Bump step-security/harden-runner from 2.19.1 to 2.19.3 #2020

Workflow file for this run

---
name: Code Review - Linting & Link Checks
on:
pull_request:
branches:
- main
- dev-tools
workflow_dispatch: {}
permissions:
contents: read
packages: read
jobs:
lint:
permissions:
statuses: write
name: Lint code base
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Run github/super-linter
uses: github/super-linter@b807e99ddd37e444d189cfd2c2ca1274d8ae8ef1 # v7
env:
VALIDATE_ALL_CODEBASE: false
# Need to define main branch as default is set to master in super-linter
DEFAULT_BRANCH: main
# Enable setting the status of each individual linter run in the Checks section of a pull request
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The following linter types will be enabled:
VALIDATE_JSON: true
VALIDATE_MARKDOWN: true
VALIDATE_POWERSHELL: true
VALIDATE_PYTHON: true
VALIDATE_YAML: true
VALIDATE_BASH: true
VALIDATE_EDITORCONFIG: true
FILTER_REGEX_EXCLUDE: ".*docs/themes/hugo-geekdoc/.*"
markdown_link_check:
name: Markdown Link Check
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # main
with:
fetch-depth: 0
- name: Check links in markdown files
uses: gaurav-nelson/github-action-markdown-link-check@3c3b66f1f7d0900e37b71eca45b63ea9eedfce31 # 1.0.17
with:
config-file: ".github/linters/mlc_config.json"
use-verbose-mode: "yes"
use-quiet-mode: "yes"
check-modified-files-only: "yes"
base-branch: "main"