0

Do not run chromatic for renovate user

This commit is contained in:
Gabe Kangas 2022-10-16 23:22:50 -07:00
parent c213b1a3d3
commit 8689061498
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

@ -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