Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dependabot label and reviewer, and track actions #61

Merged
merged 2 commits into from
May 5, 2023

Conversation

matttrach
Copy link
Contributor

This will add the k3s-io/k3s-dev group to dependabot PRs.
This will add the kind/dependabot label to dependabot PRs.

This will have dependabot manage the dependencies for github actions.

This contributes to k3s-io/k3s#7398
This contributes to k3s-io/k3s#7350

I tested this by running the dependabot cli locally:

Test Scenario
{
  "input": {
    "job": {
      "package-manager": "docker",
      "allowed-updates": [
        {
          "update-type": "all"
        }
      ],
      "source": {
        "provider": "github",
        "repo": "matttrach/k3s-upgrade",
        "directory": "/",
        "commit": "7b0e5e2b68ad19db8c73ca4b2e010f99e5cd3f9b"
      },
      "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": "alpine",
              "requirements": [
                {
                  "file": "Dockerfile.manifest",
                  "groups": [],
                  "requirement": null,
                  "source": {
                    "tag": "3.17.3"
                  }
                }
              ],
              "version": "3.17.3"
            }
          ],
          "dependency_files": [
            "/Dockerfile",
            "/Dockerfile.manifest"
          ]
        }
      }
    },
    {
      "type": "mark_as_processed",
      "expect": {
        "data": {
          "base-commit-sha": "7b0e5e2b68ad19db8c73ca4b2e010f99e5cd3f9b"
        }
      }
    }
  ]
}

Signed-off-by: Matt Trachier <matttrach@gmail.com>
@matttrach matttrach requested a review from a team May 4, 2023 16:10
@matttrach matttrach self-assigned this May 4, 2023
@matttrach matttrach requested a review from macedogm May 4, 2023 18:07
@matttrach matttrach merged commit eb681e4 into k3s-io:master May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants