-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Add a profile for enforcing lightweight dependabot configuration
Signed-off-by: Radoslav Dimitrov <[email protected]>
- Loading branch information
Showing
1 changed file
with
65 additions
and
0 deletions.
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,65 @@ | ||
--- | ||
# Stacklok profile | ||
version: v1 | ||
type: profile | ||
name: stacklok-lightweight-dependabot | ||
display_name: Stacklok Lightweight Dependabot Profile | ||
context: | ||
provider: github | ||
alert: "off" | ||
remediate: "on" | ||
repository: | ||
- type: enforce_file | ||
name: "Enforce lightweight Dependabot config for Go projects" | ||
def: | ||
apply_if_file: go.mod | ||
file: ".github/dependabot.yml" | ||
content: | | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 | ||
- type: enforce_file | ||
name: "Enforce lightweight Dependabot config for JavaScript projects" | ||
def: | ||
apply_if_file: package.json | ||
file: ".github/dependabot.yml" | ||
content: | | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 | ||
- type: enforce_file | ||
name: "Enforce lightweight Dependabot config for Python projects" | ||
def: | ||
apply_if_file: requirements.txt | ||
file: ".github/dependabot.yml" | ||
content: | | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 |