add dependabot support for npm and go dependencies (#1347)
## Description Adds dependabot support to `corso/src` (go). Adds dependabot support to `corso/website` (npm). Adds dependabot support to `corso/docs` (npm). Adds dependabot support to `corso` for actions as well. Warning that dependabot emails can get noisy so everyone may need to add email rules/update repository notifications 😭 ~PR limit of `5` here to test and we can increase as needed.~ Working well in `ark`. Increased to 50 w/ auto-merge. ## Type of change Please check the type of change your PR introduces: - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Test - [ ] 🐹 Trivial/Minor - [x] 💰 Tech Debt ## Linear Issue(s) <!-- use one of the following "magic words" - "closes, fixes" to link to the Linear issue. Can reference multiple issues--> - Fixes ALC-541 ## Test Plan Merge and see what happens (no way to currently test dependabot config). <!-- How will this be tested prior to merging.--> - [ ] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E - [x] ❌ TEST IN PROD 👀
This commit is contained in:
parent
cd8323fe06
commit
813b719951
15
.github/actions/auto-merge.yml
vendored
Normal file
15
.github/actions/auto-merge.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
name: auto-merge
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- "src/**" # prevent auto-merge for go dependencies
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
auto-merge:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: ahmadnassri/action-dependabot-auto-merge@v2 # https://github.com/marketplace/actions/dependabot-auto-merge
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.DEPENDABOT_TOKEN }}
|
||||||
4
.github/auto-merge.yml
vendored
Normal file
4
.github/auto-merge.yml
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# auto-merge config file (see https://github.com/marketplace/actions/dependabot-auto-merge#configuration-file-syntax)
|
||||||
|
- match:
|
||||||
|
dependency_type: all
|
||||||
|
update_type: "semver:minor" # includes patch updates!
|
||||||
39
.github/dependabot.yml
vendored
Normal file
39
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# See: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
||||||
|
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
# Maintain dependencies for GitHub Actions
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
reviewers:
|
||||||
|
- "corso-maintainers"
|
||||||
|
open-pull-requests-limit: 50
|
||||||
|
|
||||||
|
# Maintain dependencies for npm - website
|
||||||
|
- package-ecosystem: "npm"
|
||||||
|
directory: "website/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
reviewers:
|
||||||
|
- "corso-maintainers"
|
||||||
|
open-pull-requests-limit: 50
|
||||||
|
|
||||||
|
# Maintain dependencies for npm - docs
|
||||||
|
- package-ecosystem: "npm"
|
||||||
|
directory: "docs/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
reviewers:
|
||||||
|
- "corso-maintainers"
|
||||||
|
open-pull-requests-limit: 50
|
||||||
|
|
||||||
|
# Maintain dependencies for go - src
|
||||||
|
- package-ecosystem: "gomod"
|
||||||
|
directory: "src/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
reviewers:
|
||||||
|
- "corso-maintainers"
|
||||||
|
open-pull-requests-limit: 50
|
||||||
Loading…
x
Reference in New Issue
Block a user