fix(ci): fix Chromatic CI not being skipped for dependency update branches (#15766)
This commit is contained in:
parent
f9a3db2ac3
commit
1ede45c8fb
|
@ -11,14 +11,15 @@ on:
|
|||
# Storybook CI is checked on the "push" event of "develop" branch so it would cause a duplicate build.
|
||||
# This is a waste of chromatic build quota, so we don't run storybook CI on pull requests targets master.
|
||||
- master
|
||||
# Neither Dependabot nor Renovate will change the actual behavior for components.
|
||||
- 'dependabot/**'
|
||||
- 'renovate/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# chromatic is not likely to be available for fork repositories, so we disable for fork repositories.
|
||||
if: github.repository == 'misskey-dev/misskey'
|
||||
# Chromatic is not likely to be available for fork repositories, so we disable for fork repositories.
|
||||
# Neither Dependabot nor Renovate will change the actual behavior for components.
|
||||
if: >-
|
||||
github.repository == 'misskey-dev/misskey' &&
|
||||
startsWith(github.ref, 'refs/heads/dependabot/') != true &&
|
||||
startsWith(github.ref, 'refs/heads/renovate/') != true
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue