mirror of
https://github.com/starship/starship.git
synced 2024-12-23 23:58:51 +01:00
build: upgrade to GitHub-native Dependabot (#2665)
* Upgrade to GitHub-native Dependabot * ci: add dependabot-auto-merge action * ci: update job name Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Matan Kushner <hello@matchai.dev>
This commit is contained in:
parent
540c2c2475
commit
abe830ffe7
23
.github/dependabot.yml
vendored
Normal file
23
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: cargo
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
open-pull-requests-limit: 10
|
||||
labels:
|
||||
- "\U0001F4E6 dependencies"
|
||||
- package-ecosystem: npm
|
||||
directory: "/docs"
|
||||
schedule:
|
||||
interval: weekly
|
||||
open-pull-requests-limit: 10
|
||||
labels:
|
||||
- "\U0001F4E6 dependencies"
|
||||
- package-ecosystem: github-actions
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
open-pull-requests-limit: 10
|
||||
labels:
|
||||
- "\U0001F4E6 dependencies"
|
14
.github/workflows/auto-merge.yml
vendored
Normal file
14
.github/workflows/auto-merge.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
name: Dependabot
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
auto_merge:
|
||||
name: Auto-merge Dependabot PRs
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ahmadnassri/action-dependabot-auto-merge@v2
|
||||
with:
|
||||
target: minor
|
||||
github-token: ${{ secrets.DEPENDABOT_GITHUB_API_TOKEN }}
|
@ -1,4 +1,3 @@
|
||||
---
|
||||
name: Security audit
|
||||
on:
|
||||
pull_request:
|
1
.github/workflows/workflow.yml
vendored
1
.github/workflows/workflow.yml
vendored
@ -1,4 +1,3 @@
|
||||
---
|
||||
name: Main workflow
|
||||
on:
|
||||
push:
|
||||
|
Loading…
Reference in New Issue
Block a user