From 86890614988517dda0b2f0857a5a7a2b64ff9b05 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 16 Oct 2022 23:22:50 -0700 Subject: [PATCH] Do not run chromatic for renovate user --- .github/workflows/chromatic.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 23f2294b4..65a027040 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Check out code - if: ${{ github.actor != 'renovate[bot]' }} + if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' }} uses: actions/checkout@v3 with: # Make sure the actual branch is checked out when running on pull requests @@ -31,11 +31,11 @@ jobs: fetch-depth: 0 - name: Install dependencies - if: ${{ github.actor != 'renovate[bot]' }} + if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' }} run: npm install - name: Publish to Chromatic - if: ${{ github.actor != 'renovate[bot]' }} + if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' }} uses: chromaui/action@v1 # Chromatic GitHub Action options