summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorzyoshoka <107108195+zyoshoka@users.noreply.github.com>2025-04-07 09:55:18 +0900
committerGitHub <noreply@github.com>2025-04-07 09:55:18 +0900
commit1ede45c8fb4a26b56d33c5d69e8aa74599e2ffb3 (patch)
tree647d994caffc43907f0d8afa4f4d4f4e30dd57b5 /.github/workflows
parentrefactor(frontend): refactor styles (diff)
downloadsharkey-1ede45c8fb4a26b56d33c5d69e8aa74599e2ffb3.tar.gz
sharkey-1ede45c8fb4a26b56d33c5d69e8aa74599e2ffb3.tar.bz2
sharkey-1ede45c8fb4a26b56d33c5d69e8aa74599e2ffb3.zip
fix(ci): fix Chromatic CI not being skipped for dependency update branches (#15766)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/storybook.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml
index 620d83d6c9..bbdc881161 100644
--- a/.github/workflows/storybook.yml
+++ b/.github/workflows/storybook.yml
@@ -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: