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:
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user