Skip to content

Copy a dependency's values only when they are read #1576

Copy a dependency's values only when they are read

Copy a dependency's values only when they are read #1576

Workflow file for this run

name: Changelog
on:
push:
branches: [master, 11.0_release]
# Label events rerun only this check, so applying changelog:skip or
# changelog:release does not restart the main CI.
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
branches: [master, 11.0_release]
concurrency:
group: changelog-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
changelog:
runs-on: ubuntu-26.04
steps:
# The checks need the history and tags, but only a few files of older
# commits, which git fetches when it reads them.
- uses: actions/checkout@v7
with:
fetch-depth: 0
filter: blob:none
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: actions/setup-node@v7
with:
cache: yarn
node-version-file: .nvmrc
# The scripts import semver. Package builds aren't needed for them.
- run: yarn install --immutable --mode=skip-build
- run: node --test scripts/changelog.test.js scripts/magicNumbers.test.js
- run: node scripts/changelog.js check