chore(github): align .github config with compono, drop unused templates - #396
Merged
Conversation
Ports compono's hardened dependabot auto-merge (SHA-pinned actions, GitHub App token, repo scoping), dependabot.yml's multi-ecosystem-group/cooldown structure, and release-drafter.yml's bang-matching autolabel regex, found during a cross-repo .github audit. Also removes ISSUE_TEMPLATE, DISCUSSION_TEMPLATE, and pull_request_template.md, which weren't in use. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qn9kagNWsCubTrnzN6NEqV
The template-removal commit picked up the deletions but missed these already-edited files (dependabot.yml, release-drafter.yml, dependabot-auto-merge.yml, AGENTS.md), which were still unstaged. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qn9kagNWsCubTrnzN6NEqV
…m-group entries Dependabot rejected the config: '#/updates/1/patterns' is required when 'multi-ecosystem-group' is set. Missed this field porting compono's multi-ecosystem-groups structure. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qn9kagNWsCubTrnzN6NEqV
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 888229f502
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ENTS.md Codex review on #396 caught it: the root AGENTS.md still pointed PR authors at ./.github/pull_request_template.md after that file was deleted earlier in this PR. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qn9kagNWsCubTrnzN6NEqV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Summary
Cross-repo audit of
.githubbetween minimal-lambda and compono. Ports a handful of security/behavior fixes from compono into minimal-lambda's config and removes unused GitHub templates. Most workflow differences (pr-build.yaml, docs.yaml, publish-*.yaml, package/aot-validation) are intentional divergence and were left untouched — documented in.github/CLAUDE.md.📝 Changes
dependabot-auto-merge.yml: SHA-pin third-party actions, switch fromsecrets.GITHUB_TOKENto a GitHub App token for approve/merge, scope the trigger to this repo, and gate the approve step on update-type (was previously ungated).dependabot.yml: adopt compono'smulti-ecosystem-groups/cooldown/weekly-Wednesday scheduling structure for the github-actions/npm/dotnet-sdk/pip ecosystems.nuget's own ignore rules and ecosystem list (npm/dotnet-sdk/pip, not in compono) are unchanged — this repo's actual dependency needs differ from compono's.release-drafter.yml: autolabeler regex now matches a trailing!(e.g.feat!:) for breaking-change titles, matching compono; version-resolver blocks switched to thelabels:list syntax.ISSUE_TEMPLATE/,DISCUSSION_TEMPLATE/, andpull_request_template.md— unused, and compono doesn't carry them either. Dropped the now-stale reference topull_request_template.mdfrom.github/AGENTS.md(symlinked to.github/CLAUDE.md).🧪 Validation
.githubfile by file.dependabot-auto-merge.ymlnow requiresDEPENDABOT_AUTOMERGE_APP_IDandDEPENDABOT_AUTOMERGE_PRIVATE_KEYsecrets on this repo (matching compono's setup) — auto-merge/auto-approve will silently fail on the next Dependabot PR until those are added if they aren't already present.💬 Notes for Reviewers
Please confirm
DEPENDABOT_AUTOMERGE_APP_ID/DEPENDABOT_AUTOMERGE_PRIVATE_KEYsecrets exist on this repo before merging, or the auto-merge workflow will break.🤖 Generated with Claude Code
https://claude.ai/code/session_01Qn9kagNWsCubTrnzN6NEqV