mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
ci: add dependabot and automerge job to make deps always up to date
This commit is contained in:
15
.github/dependabot.yml
vendored
Normal file
15
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Basic dependabot.yml file with
|
||||
# minimum configuration for two package managers
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
# Enable version updates for npm
|
||||
- package-ecosystem: 'npm'
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: 'daily'
|
||||
# Specify labels for npm pull requests
|
||||
labels:
|
||||
- 'npm'
|
||||
- 'dependencies'
|
||||
versioning-strategy: increase
|
||||
11
.github/workflows/yarn.js.yml
vendored
11
.github/workflows/yarn.js.yml
vendored
@@ -24,3 +24,14 @@ jobs:
|
||||
run: yarn lint
|
||||
- name: Test
|
||||
run: yarn test
|
||||
|
||||
dependabot:
|
||||
needs:
|
||||
- Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: auto-merge
|
||||
uses: ridedott/dependabot-auto-merge-action@master
|
||||
with:
|
||||
GITHUB_LOGIN: dependabot[bot]
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user