From 4da4b586cdea70b878a57de00ba3749c67bddb50 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 10 Sep 2022 22:54:04 -0700 Subject: [PATCH] Do not allow chromatic to run for renovate --- .github/workflows/chromatic.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index aa0c65eb4..e01d33dda 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -19,6 +19,7 @@ jobs: steps: - name: Check out code + if: ${{ github.actor != 'renovate[bot]' }} uses: actions/checkout@v3 with: # Make sure the actual branch is checked out when running on pull requests @@ -27,9 +28,12 @@ jobs: fetch-depth: 0 - name: Install dependencies + if: ${{ github.actor != 'renovate[bot]' }} run: npm install - name: Publish to Chromatic + if: ${{ github.actor != 'renovate[bot]' }} + uses: chromaui/action@v1 # Chromatic GitHub Action options with: