Skip to content

feat: add cobra and viper setup #3

feat: add cobra and viper setup

feat: add cobra and viper setup #3

name: Markdown checks
on:
pull_request:
branches:
- main
paths:
- "**.md"
workflow_dispatch:
permissions: # added using https://github.com/step-security/secure-repo
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
with:
allowed-endpoints: >
github.com:443
registry.npmjs.org:443
disable-sudo: true
disable-telemetry: true
egress-policy: block
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: markdownlint-cli2-action
uses: DavidAnson/markdownlint-cli2-action@v9
link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # v1.0.15
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
check-modified-files-only: 'yes'
base-branch: main