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

Automatic golang and golangci-lint version updates #390

Closed
wants to merge 2 commits into from

Conversation

petersutter
Copy link
Member

@petersutter petersutter commented Feb 20, 2024

What this PR does / why we need it:
With this PR, dependabot will create new update PRs for golang and golangci-lint version updates.

Details:
This PR introduces a configuration that tricks Dependabot into monitoring images of a Helm chart as defined in /hack/values-dependabot.yaml.
When Dependabot creates a new PR, certain workflows, such as /.github./workflows/bump-golang.yaml, will automatically update the version definitions across various files.

This PR requires a Github App to be created and installed for this repository with the following scopes:

  • contents:write
  • workflows:write
  • metadata:read

Create the following action secrets:

  • GARDENER_GITHUB_WORKFLOW_WRITER_APP_ID
  • GARDENER_GITHUB_WORKFLOW_WRITER_APP_PRIVATE_KEY

More info can be found here on how to authenticate with a github app https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow#authenticating-with-a-github-app

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
I have already created the app and the action secrets. The app is installed into the following repositories:

  • gardener/gardenctl-v2
  • gardener/gardenlogin
  • gardener/terminal-controller-manager

Release note:

@petersutter petersutter requested a review from a team as a code owner February 20, 2024 15:48
@gardener-robot gardener-robot added needs/review Needs review size/m Size of pull request is medium (see gardener-robot robot/bots/size.py) labels Feb 20, 2024
@gardener-robot-ci-2 gardener-robot-ci-2 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Feb 20, 2024
@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Feb 20, 2024
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Feb 20, 2024
@gardener-robot-ci-3 gardener-robot-ci-3 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Feb 20, 2024
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Feb 20, 2024
@gardener-robot-ci-2 gardener-robot-ci-2 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Feb 20, 2024
@petersutter petersutter marked this pull request as draft February 22, 2024 09:50
@petersutter
Copy link
Member Author

closed in favour of #395

@petersutter petersutter closed this Mar 4, 2024
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/review Needs review size/m Size of pull request is medium (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants