mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-02-26 13:00:09 +08:00
fix: not allow file should be yarn.lock
This commit is contained in:
parent
153d974f13
commit
7c41560050
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
filters: |
|
filters: |
|
||||||
change:
|
change:
|
||||||
- 'package-lock.json'
|
- 'package-lock.json'
|
||||||
- 'yarn-lock.json'
|
- 'yarn.lock'
|
||||||
- 'pnpm-lock.yaml'
|
- 'pnpm-lock.yaml'
|
||||||
|
|
||||||
# ref: https://github.com/github/docs/blob/main/.github/workflows/triage-unallowed-contributions.yml
|
# ref: https://github.com/github/docs/blob/main/.github/workflows/triage-unallowed-contributions.yml
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
try {
|
try {
|
||||||
const badFilesArr = [
|
const badFilesArr = [
|
||||||
'package-lock.json',
|
'package-lock.json',
|
||||||
'yarn-lock.json',
|
'yarn.lock',
|
||||||
'pnpm-lock.yaml',
|
'pnpm-lock.yaml',
|
||||||
]
|
]
|
||||||
const badFiles = badFilesArr.join('\n')
|
const badFiles = badFilesArr.join('\n')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user