Skip to content

build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 #24

build(deps): bump actions/setup-node from 6.4.0 to 7.0.0

build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 #24

Workflow file for this run

# Fallow PR review, preserved from the old hand-written CI when the
# verify graph moved to the generated async-pipeline workflow.
name: Fallow
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
fallow-pr-review:
name: Fallow PR review
runs-on: ubuntu-latest
env:
FALLOW_VERSION: 2.84.0
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
with:
node-version: 24.x
- name: Resolve Fallow base
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
echo "FALLOW_BASE=${{ github.event.pull_request.base.sha }}" >> "$GITHUB_ENV"
elif git rev-parse --verify HEAD~1 >/dev/null 2>&1; then
echo "FALLOW_BASE=HEAD~1" >> "$GITHUB_ENV"
else
echo "FALLOW_BASE=HEAD" >> "$GITHUB_ENV"
fi
- name: Run Fallow PR review
run: |
set -o pipefail
git diff --unified=0 "$FALLOW_BASE"...HEAD | npm exec --yes --package "fallow@${FALLOW_VERSION}" -- fallow audit \
--diff-file - \
--base "$FALLOW_BASE" \
--gate new-only \
--no-cache \
--format markdown \
--fail-on-issues