Closed matttrach closed 1 year ago
This will add the k3s-io/k3s-dev group to dependabot PRs. This will add the kind/dependabot label to dependabot PRs.
k3s-io/k3s-dev
kind/dependabot
This contributes to https://github.com/k3s-io/k3s/issues/7398 This contributes to https://github.com/k3s-io/k3s/issues/7350
I tested this by running the dependabot cli locally:
This will add the
k3s-io/k3s-dev
group to dependabot PRs. This will add thekind/dependabot
label to dependabot PRs.This contributes to https://github.com/k3s-io/k3s/issues/7398 This contributes to https://github.com/k3s-io/k3s/issues/7350
I tested this by running the dependabot cli locally:
Test Scenario
``` { "input": { "job": { "package-manager": "docker", "allowed-updates": [ { "update-type": "all" } ], "ignore-conditions": [ { "dependency-name": "golang", "source": "/root/dependabot_test", "version-requirement": ">1.20-alpine3.16" } ], "source": { "provider": "github", "repo": "matttrach/klipper-lb", "directory": "/", "commit": "7a5c27d8d35e3453b68995b70ae5aa9d59c7fe43" }, "credentials-metadata": [ { "host": "github.com", "type": "git_source" } ] }, "credentials": [ { "host": "github.com", "password": "$LOCAL_GITHUB_ACCESS_TOKEN", "type": "git_source", "username": "x-access-token" } ] }, "output": [ { "type": "update_dependency_list", "expect": { "data": { "dependencies": [ { "name": "golang", "requirements": [ { "file": "Dockerfile.dapper", "groups": [], "requirement": null, "source": { "tag": "1.19-alpine3.16" } } ], "version": "1.19-alpine3.16" } ], "dependency_files": [ "/Dockerfile.dapper" ] } } }, { "type": "create_pull_request", "expect": { "data": { "base-commit-sha": "7a5c27d8d35e3453b68995b70ae5aa9d59c7fe43", "dependencies": [ { "name": "golang", "previous-requirements": [ { "file": "Dockerfile.dapper", "groups": [], "requirement": null, "source": { "tag": "1.19-alpine3.16" } } ], "previous-version": "1.19-alpine3.16", "requirements": [ { "file": "Dockerfile.dapper", "groups": [], "requirement": null, "source": { "tag": "1.20-alpine3.16" } } ], "version": "1.20-alpine3.16" } ], "updated-dependency-files": [ { "content_encoding": "utf-8", "deleted": false, "directory": "/", "name": "Dockerfile.dapper", "operation": "update", "support_file": false, "type": "file" } ], "pr-title": "Bump golang from 1.19-alpine3.16 to 1.20-alpine3.16", "pr-body": "Bumps golang from 1.19-alpine3.16 to 1.20-alpine3.16.\n", "commit-message": "Bump golang from 1.19-alpine3.16 to 1.20-alpine3.16\n\nBumps golang from 1.19-alpine3.16 to 1.20-alpine3.16." } } }, { "type": "mark_as_processed", "expect": { "data": { "base-commit-sha": "7a5c27d8d35e3453b68995b70ae5aa9d59c7fe43" } } } ] } ```