Skip to content

chore(deps): update returntocorp/semgrep docker digest to c517447 #2118

chore(deps): update returntocorp/semgrep docker digest to c517447

chore(deps): update returntocorp/semgrep docker digest to c517447 #2118

Workflow file for this run

name: Lint Yaml
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "**/*.yml"
- "**/*.yaml"
pull_request:
paths:
- "**/*.yml"
- "**/*.yaml"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: Install dependencies
shell: bash
run: |
npm ci --ignore-scripts
- name: Run linter
shell: bash
run: |
npx --no-install prettier -c "**/*.{yml,yaml}"