chore: onboard to canonical github policy files - #13
Merged
Merged
Conversation
Drops in the stack-agnostic subset of arthur-debert/release's policy templates: CODEOWNERS, .github/dependabot.yml (github-actions freshness only, per portfolio policy), .github/workflows/copilot-review.yml (auto-request Copilot on PRs). Companion to: - main-branch-protection ruleset (just applied via apply-ruleset) - Dependabot security alerts + automated fixes (just enabled via API) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Onboards the repository to a canonical set of GitHub policy files (ownership, Dependabot configuration, and an automation workflow to request Copilot review on PR creation/ready-for-review).
Changes:
- Added
.github/CODEOWNERSto define a single default code owner. - Added
.github/dependabot.ymlenabling weekly GitHub Actions update PRs. - Added
.github/workflows/copilot-review.ymlto request a Copilot review on eligible PR events.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/copilot-review.yml |
Adds an action workflow that delegates to a reusable workflow to auto-request Copilot review on PR open/ready-for-review. |
.github/dependabot.yml |
Configures Dependabot to update GitHub Actions dependencies on a weekly cadence. |
.github/CODEOWNERS |
Establishes default repo-wide ownership for review routing. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| uses: arthur-debert/gh-dagentic/.github/workflows/copilot-review.yml@main |
Without this, Cobra interprets positional args that don't match a known subcommand as "unknown command" errors. Adding completion and man subcommands (in 9c61b74) silently broke TestRootCmd_FileNotFound — the test expected the file argument to flow into RunE, but it was being rejected as an unknown command first. RunE already validates len(args) == 2, so ArbitraryArgs is the right level. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Onboards this repo to arthur-debert/release's canonical policy.
Adds the stack-agnostic subset of policy templates:
.github/CODEOWNERS— single-owner mapping.github/dependabot.yml— github-actions freshness only (portfolio policy: app-dep freshness disabled; security via API toggle).github/workflows/copilot-review.yml— auto-request Copilot review on PRsCompanion changes already applied on GitHub side:
main-branch-protectionruleset (PR required, linear history, no force-push, no delete)After this lands,
install-release-tokenandenable-dependabot-securitywill auto-discover this repo via the ruleset.Test plan