Repository navigation
ci: streamline security scans and automate Dependabot updates - #6
Conversation
|
Automatic approval is disabled by the configured approval policy for this pull request. Review comments and requests for changes continue normally. Next step: Have a maintainer review and approve directly in your Git provider. The approve and resolve commands do not bypass this policy. Assessed commit: No actionable comments were generated in the recent review.
|
| Setting | Effective value | Source |
|---|---|---|
| Automatic approvals | Disabled | Override 1 |
| Merge risk | Low | Global configuration |
| Security risk | Not set | Global configuration |
Matching overrides (numbered as in the resolved configuration):
- Override 1 — any author; paths:
.github/**; automatic approvals: disabled.
Any matching disabled override withholds approval, regardless of risk. Otherwise, the strictest explicitly set limit wins for each score. Limits omitted by all matching overrides inherit the global configuration.
Not set means no limit was configured after inheritance. Use @coderabbitai configuration to inspect the resolved settings and their sources.
📝 Summary
-
Summary by CodeRabbit
- New Features
- Added automated approval and merging for eligible Dependabot updates, subject to verification and file restrictions.
- Added CodeQL analysis checks and security alert thresholds to repository protections.
- Security
- Security scans now use a lighter setup while retaining locked dependencies and verified tools.
- Workflow permissions default to read-only, with elevated permissions limited to specific jobs.
- Documentation
- Updated contributor and security guidance with the new checks and dependency update process.
- Chores
- Paused hosted
uvdependency update pull requests; dependency monitoring and security scans continue.
- Paused hosted
The pull request adds a security dependency profile for scanner workflows, updates repository checks and workflow permissions, and adds Dependabot approval and auto-merge automation. It removes hosted
uvupdate configuration and documents the related security and dependency update policies.Changes: Security CI and Dependency Governance
Layer / File(s) Summary Security profile and scanner setup
.github/actions/setup-just/action.yml,pyproject.toml,.github/workflows/gitleaks.yml,.github/workflows/osv.yml,.github/workflows/zizmor.yml,CONTRIBUTING.md,docs/SECURING.mdThe setup action accepts fullandsecurityprofiles and separates their managed-tools caches. Scanner workflows usesecurityand run theirjustcommands through lockeduv run --no-sync. Thesecuritydependency group includestoolingand pinszizmor. The guidance describes the profiles and scanner setup.Repository security controls
.github/settings/actions-selected.json,.github/settings/main-ruleset.json,.github/settings/workflow-permissions.json,CONTRIBUTING.md,docs/SECURING.mdRepository settings allow the shared Dependabot workflow and metadata action, require Actions and Python analysis checks, configure CodeQL alert thresholds, and set default workflow permissions to read while allowing review approval. The documentation describes these controls and checks. Dependabot approval and update policy
.github/workflows/dependabot-auto-merge.yml,.github/dependabot.yml,CONTRIBUTING.md,docs/SECURING.mdA workflow delegates Dependabot pull-request approval and auto-merge to a commit-pinned reusable workflow. The hosted uvupdate configuration is removed. The documentation describes the workflow checks, merge gates, and dependency maintenance procedures.Priority:
NormalEstimated code review effort: 3 (Moderate) | ~25 minutes
Change: Feature
Sequence Diagram(s)
LoadingsequenceDiagram participant DependabotPR participant CallerWorkflow as dependabot-auto-merge.yml participant ReusableWorkflow as Pinned reusable workflow participant GitHubPR as GitHub pull request DependabotPR->>CallerWorkflow: Open, reopen, ready, or synchronize event CallerWorkflow->>ReusableWorkflow: Invoke with repository and file policy ReusableWorkflow->>GitHubPR: Verify identity, signature, changed files, and head ReusableWorkflow->>GitHubPR: Approve and request native squash auto-merge
Possibly related issues
- Issue 125 in
acgetchell/research-repo-tools: The change uses a commit-pinned shared Dependabot workflow and adds an Actions allowlist pattern for it. - Issue 139 in
acgetchell/research-repo-tools: The change adds a lightweight security setup profile, a security dependency group, and Just-based scanner workflow commands.
Possibly related PRs
- acgetchell/Papers#3: Introduced the setup action, security workflows, dependency groups, security settings, and auto-merge configuration that this pull request modifies.
- New Features
Merge Risk: 
Minimal · up to 565e4
-
No merge-blocking issue was identified in the reviewed changes.
Pre-merge checks: 
5
-
Full details: Title check
-
Explanation
The title names the two main parts of the changeset: streamlined security scans (the new lightweight security profile in setup-just, the security dependency group, and the scanner workflows switched to it) and automated Dependabot updates (the reusable approval-and-auto-merge workflow). It is specific and matches the changes in the summary. It is slightly broad, since it omits the pause of uv version updates, but it is still a real and central part of the change. The title is about 61 characters and follows the conventional commit prefix style.
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
Dependabot's uv updater rejects the inherited Python 3.15 baseline, and the security jobs install more tooling than their scans need. Pause uv version-update jobs, keep shared manual maintenance and OSV coverage, and give scanner jobs a lightweight setup profile using the pinned
research-repo-toolspackage.research-repo-toolsv0.2.3 commit. It verifies identity, signed commits, allowed paths, and the current head before approving and enabling native squash auto-merge. Hosted permissions and the strict Actions allowlist are applied and verified; default tokens stay read-only.The Dependabot caller activates after this PR reaches
main. Required checks and human CODEOWNER review still apply to.github/**; ordinary paper review and auto-merge remain eligible under the existing policy. Dependabot PR #5 is already queued for native auto-merge and awaits owner review. Actions lockfiles remain deferred.Validation:
just paper-setup,just check, andjust cipass, including all 36 tests. All nine standalone LaTeX sources compile, the pilot reviewer-artifact comparison passes, and generated paper output is removed. GitHub tooling, security, and changed-paper checks also pass on commit565e4ba. A fresh isolated security environment runs OSV, Gitleaks, and zizmor through Just without installing managed Rust/Cargo or paper PDF dependencies. Profile validation, exact dependency-file policy, unchanged lockfile versions/sources, and hosted settings were also checked.