This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
add dependabot support for npm and go dependencies #1347
Merged
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2d157ab
feat: add dependabot support for npm and go dependencies
uncledru a2aa830
Merge branch 'main' into feat/dependabot
uncledru ba4d197
feat: automerge dependabot minor and patch updates, assign reviewers β¦
uncledru aabec8b
chore: ignore auto merge for src directory
uncledru 361d4fc
chore: switch GitHub Action dependency PRs to corso-maintainers for rβ¦
uncledru 20e454e
Merge branch 'main' into feat/dependabot
uncledru 07a6682
Merge branch 'main' into feat/dependabot
uncledru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: | ||
- "alcion/platform" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this also be 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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately auto-merge config does not support
ignore
options.paths-ignore prevents the auto-merge action from running for
go
dependencies undersrc/
.