chore(deps-dev): bump lefthook from 2.0.14 to 2.0.16 #182
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: Lint YAML | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - .nvmrc | |
| - package-lock.json | |
| - "**/*.yml" | |
| - .github/workflows/pr-check_yml.yml | |
| permissions: {} | |
| jobs: | |
| docs: | |
| # do not run on PRs in forks | |
| if: github.repository == 'mdn/translated-content-de' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: npm | |
| - name: Install | |
| run: npm ci | |
| env: | |
| # https://github.com/microsoft/vscode-ripgrep#github-api-limit-note | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Lint markdown files | |
| run: npm run lint:yml |