Skip to content

chore(ci): pin external GitHub Actions to commit SHAs (SEC-9867) #2567

chore(ci): pin external GitHub Actions to commit SHAs (SEC-9867)

chore(ci): pin external GitHub Actions to commit SHAs (SEC-9867) #2567

Workflow file for this run

name: Ensure Formatting
on:
push:
branches:
- "**"
pull_request_target:
types: [opened, reopened, synchronize]
jobs:
ensure-formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- name: Use Node.js 16
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
with:
node-version: 16
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run validation script
run: node ./ci.js