Do not allow chromatic to run for renovate

This commit is contained in:
Gabe Kangas
2022-09-10 22:54:04 -07:00
parent 74b45fdfab
commit 4da4b586cd

View File

@@ -19,6 +19,7 @@ jobs:
steps: steps:
- name: Check out code - name: Check out code
if: ${{ github.actor != 'renovate[bot]' }}
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
# Make sure the actual branch is checked out when running on pull requests # Make sure the actual branch is checked out when running on pull requests
@@ -27,9 +28,12 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Install dependencies - name: Install dependencies
if: ${{ github.actor != 'renovate[bot]' }}
run: npm install run: npm install
- name: Publish to Chromatic - name: Publish to Chromatic
if: ${{ github.actor != 'renovate[bot]' }}
uses: chromaui/action@v1 uses: chromaui/action@v1
# Chromatic GitHub Action options # Chromatic GitHub Action options
with: with: