Skip to content

chore(stepsecurity): apply security best practices #169

chore(stepsecurity): apply security best practices

chore(stepsecurity): apply security best practices #169

Workflow file for this run

name: Commit Lint
on:
pull_request:
branches: [master]
permissions:
contents: read
jobs:
commit_lint:
name: "Lint commit messages"
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
fetch-depth: 0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 16
- run: yarn install --frozen-lockfile
- run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose