You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Repository settings that need an admin: protect release tags and main, Dependabot security updates #16
A few settings would back up the release and CI work in #13, #14 and #15, and only an admin can change them. When you have a moment:
Protect release tags with a tag ruleset for v*: only maintainers and admins can create them, and nobody can move or delete one once it is pushed. A tag is what triggers release.yml, so this decides who can ship a release.
Protect main with a branch ruleset: changes through pull requests only, the test workflow's checks and DCO required once Test pull requests in CI, and add Dependabot #14 is in, no force pushes, no deletion. Rulesets name the required checks one job at a time, so that list needs a touch whenever the Go versions in the test matrix change. Whether a pull request also needs an approval from the other maintainer is your call; with two of us, it would mean each of us reviews the other.
Turn on Dependabot alerts and Dependabot security updates in the repository's security settings. Version updates come from Test pull requests in CI, and add Dependabot #14's config, but security updates are what bump a vulnerable indirect module like golang.org/x/net on their own.
Make the default workflow token read-only (Actions settings, workflow permissions), if it is not already. release.yml asks for what it needs itself, and the test workflow only reads.
Optional, but worth it for a tool that updates itself: private vulnerability reporting, so a security bug can be reported without a public issue. Happy to write a SECURITY.md to go with it.
Thanks for setting these up. Everything my role can see is in place:
release-tags on v*: creating, moving and deleting a tag is limited to the bypass list.
protect-main: pull requests, one approval that a push dismisses, the three required checks, up to date with main, no force push or deletion.
Dependabot alerts are on, with none so far.
Private vulnerability reporting is on.
Two I cannot see with the maintain role: Dependabot security updates and the read-only workflow token. You said they are applied, so just say if either is off.
GitHub tells only admins and security managers about a private report, so a report would reach you and not me, and only if you watch the repository for all activity or with Security alerts ticked under Watch > Custom, which is worth a quick check. If you want a hand with reports, add me to the advisory when one comes in, or make me a security manager.
#28 adds the SECURITY.md I offered, and a dependabot.yml fix for the kubernetes group, which fails on every refresh. The pull request lists what the policy promises on your behalf; change anything that does not fit. I will close this once it is merged, unless one of the settings is off.
Activity
pierreneter commentedon Oct 30, 2026
Hey @junior, thanks for the write-up. I've applied your suggestions to the repository settings.
Feel free to review and approve the Dependabot PRs if they look good to you.
docs: add maintaining.md and CODEOWNERS
junior commentedon Nov 7, 2026
Thanks for setting these up. Everything my role can see is in place:
release-tagsonv*: creating, moving and deleting a tag is limited to the bypass list.protect-main: pull requests, one approval that a push dismisses, the three required checks, up to date withmain, no force push or deletion.Two I cannot see with the maintain role: Dependabot security updates and the read-only workflow token. You said they are applied, so just say if either is off.
GitHub tells only admins and security managers about a private report, so a report would reach you and not me, and only if you watch the repository for all activity or with Security alerts ticked under Watch > Custom, which is worth a quick check. If you want a hand with reports, add me to the advisory when one comes in, or make me a security manager.
#28 adds the SECURITY.md I offered, and a
dependabot.ymlfix for the kubernetes group, which fails on every refresh. The pull request lists what the policy promises on your behalf; change anything that does not fit. I will close this once it is merged, unless one of the settings is off.docs: add SECURITY.md