fix(ci): change Chromatic build to be triggered when frontend `package.json` is edited instead of lockfile (#15793)
* fix(ci): correct invalid condition for skipping Chromatic build * fix: change to be triggered when frontend `package.json` is edited instead of lockfile * chore: disable automatic rebase of frontend Renovate PRs
This commit is contained in:
parent
6a69e4180b
commit
d91a4e3dec
|
@ -15,11 +15,7 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
# 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.head_ref, 'refs/heads/dependabot/') != true &&
|
||||
startsWith(github.head_ref, 'refs/heads/renovate/') != true
|
||||
if: github.repository == 'misskey-dev/misskey'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
|
|
|
@ -55,7 +55,7 @@ await fs.readFile(
|
|||
'../../locales/ja-JP.yml',
|
||||
'assets/**',
|
||||
'public/**',
|
||||
'../../pnpm-lock.yaml',
|
||||
'package.json',
|
||||
]).length
|
||||
) {
|
||||
return;
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
'packages/misskey-reversi/**/package.json',
|
||||
'packages/sw/**/package.json',
|
||||
],
|
||||
// prevent wastage of Chromatic snapshots
|
||||
rebaseWhen: 'never',
|
||||
},
|
||||
{
|
||||
groupName: '[misskey-js] Update dependencies',
|
||||
|
|
Loading…
Reference in New Issue