Skip to content

ci: Check bundle size increases per PR #2

ci: Check bundle size increases per PR

ci: Check bundle size increases per PR #2

Workflow file for this run

name: 'CI: Size Check'
on:
# Temporary: exercise this workflow on PR #24737 before it exists on develop.
pull_request:
types: [labeled, unlabeled]
permissions:
contents: read
actions: write
pull-requests: read
concurrency:
group: size-check-label-${{ github.event.pull_request.number }}-${{ github.event.label.name }}
cancel-in-progress: true
jobs:
rerun:
if: github.event.pull_request.number == 24737 && github.event.label.name == 'Accept Bundlesize Increase'
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- name: Check out PR commit
uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- uses: actions/github-script@v9
with:
script: |
const { default: run } = await import(
`${process.env.GITHUB_WORKSPACE}/scripts/rerun-size-check.mjs`
);
await run({ github, context, core });