Browse Source

Do not run chromatic for renovate user

pull/2221/head
Gabe Kangas 3 years ago
parent
commit
8689061498
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 6
      .github/workflows/chromatic.yml

6
.github/workflows/chromatic.yml

@ -22,7 +22,7 @@ jobs: @@ -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: @@ -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

Loading…
Cancel
Save