Skip to content

Add dependabot config generator for active release branches#2048

Merged
tekton-robot merged 1 commit into
tektoncd:mainfrom
jkhelil:update_dependabot
Jun 22, 2026
Merged

Add dependabot config generator for active release branches#2048
tekton-robot merged 1 commit into
tektoncd:mainfrom
jkhelil:update_dependabot

Conversation

@jkhelil

@jkhelil jkhelil commented Jun 16, 2026

Copy link
Copy Markdown
Member

Implements the same dependabot generation pattern used by tektoncd/pipeline:

  • .github/dependabot.config.yml: human-maintained source of truth listing active release branches (release-v0.27.x, release-v0.33.x, release-v0.34.x, release-v0.35.x) and ecosystem settings
  • hack/generate-dependabot/main.go: Go generator that reads the config and produces dependabot.yml, with patch-only restrictions on release branches
  • hack/generate-dependabot.sh: shell wrapper to invoke the generator
  • .github/dependabot.yml: regenerated to cover all release branches
  • .github/workflows/dependabot-regen.yml: weekly workflow that regenerates dependabot.yml and opens a PR when changes are detected

/kind feature

Changes

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

@tekton-robot tekton-robot added kind/feature Categorizes issue or PR as related to a new feature. release-note-none Denotes a PR that doesnt merit a release note. labels Jun 16, 2026
@tekton-robot tekton-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jun 16, 2026
Comment thread .github/workflows/dependabot-regen.yml Fixed
@jkhelil
jkhelil force-pushed the update_dependabot branch 4 times, most recently from 683530a to ec9a7b5 Compare June 16, 2026 08:02
@tekton-robot tekton-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 16, 2026
Comment thread .github/dependabot.yml Fixed
Comment thread .github/dependabot.yml Fixed
Comment thread .github/dependabot.yml Fixed
Comment thread .github/dependabot.yml Fixed
Comment thread .github/dependabot.yml Fixed
Comment thread .github/dependabot.yml Fixed
Comment thread .github/dependabot.yml Fixed
Comment thread .github/dependabot.yml Fixed
Comment thread .github/dependabot.yml Fixed
Comment thread .github/dependabot.yml Fixed
@jkhelil
jkhelil force-pushed the update_dependabot branch from 017852e to 071a045 Compare June 16, 2026 10:51

@vdemeester vdemeester left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At some point we probably will want to share the code (in plumbing ?) so that if we update it somewhere we don't have to update it everywhere again 😬

@jkhelil

jkhelil commented Jun 18, 2026

Copy link
Copy Markdown
Member Author

@khrm Please have a look

@vdemeester

Copy link
Copy Markdown
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 18, 2026
Implements the same dependabot generation pattern used by tektoncd/pipeline:

- .github/dependabot.config.yml: human-maintained source of truth listing
  active release branches (release-v0.27.x, release-v0.33.x, release-v0.34.x,
  release-v0.35.x) and ecosystem settings
- hack/generate-dependabot/main.go: Go generator that reads the config and
  produces dependabot.yml, with patch-only restrictions on release branches
- hack/generate-dependabot.sh: shell wrapper to invoke the generator
- .github/dependabot.yml: regenerated to cover all release branches
- .github/workflows/dependabot-regen.yml: weekly workflow that regenerates
  dependabot.yml and opens a PR when changes are detected

/kind feature

Co-authored-by: Cursor <cursoragent@cursor.com>
@jkhelil
jkhelil force-pushed the update_dependabot branch from 071a045 to fbca7d2 Compare June 22, 2026 05:00
@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Jun 22, 2026
@vdemeester

Copy link
Copy Markdown
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 22, 2026

@khrm khrm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@khrm

khrm commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

/approve

@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: khrm, vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 22, 2026
@tekton-robot
tekton-robot merged commit b37fae4 into tektoncd:main Jun 22, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants