Skip to content

build(deps-dev): bump the storybook group across 1 directory with 8 updates #499

build(deps-dev): bump the storybook group across 1 directory with 8 updates

build(deps-dev): bump the storybook group across 1 directory with 8 updates #499

# To save £££, we only run the Chromatic tests once the `run_chromatic` label is
# applied. This workflow reminds people to add the label because it isn't always
# obvious.
name: Chromatic Label Helper
on:
pull_request:
types: [opened]
jobs:
write_comment:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/github-script@v7
with:
script: |
const comment = [
"> [!TIP]",
"> Once this PR is ready to go, add the `run_chromatic` label to run the Chromatic tests.",
">",
"> _This saves us a lot of money by not running the tests before we need them._",
].join('\n');
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: comment,
});