Do not run chromatic for renovate user
This commit is contained in:
parent
c213b1a3d3
commit
8689061498
6
.github/workflows/chromatic.yml
vendored
6
.github/workflows/chromatic.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user