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: steps:
- name: Check out code - name: Check out code
if: ${{ github.actor != 'renovate[bot]' }} if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' }}
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
@ -31,11 +31,11 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Install dependencies - name: Install dependencies
if: ${{ github.actor != 'renovate[bot]' }} if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' }}
run: npm install run: npm install
- name: Publish to Chromatic - name: Publish to Chromatic
if: ${{ github.actor != 'renovate[bot]' }} if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' }}
uses: chromaui/action@v1 uses: chromaui/action@v1
# Chromatic GitHub Action options # Chromatic GitHub Action options