Skip to content

chore(cicd): harden CI for fork PRs + CODEOWNERS + dependabot#5

Merged
jieyao-MilestoneHub merged 1 commit into
mainfrom
chore/fork-ready-cicd
Apr 15, 2026
Merged

chore(cicd): harden CI for fork PRs + CODEOWNERS + dependabot#5
jieyao-MilestoneHub merged 1 commit into
mainfrom
chore/fork-ready-cicd

Conversation

@jieyao-MilestoneHub
Copy link
Copy Markdown
Contributor

Summary

Prepares the repo for fork-based external contribution while keeping CI/CD green and safe.

  • ci.yml hardening — explicit contents: read permission, concurrency group that cancels superseded runs, persist-credentials: false, pip cache, fail-fast: false across the matrix. Broadened pull_request trigger so PRs targeting any branch still lint.
  • .github/CODEOWNERS — defaults every PR to @CoreNovus/maintainers for review.
  • .github/dependabot.yml — weekly pip + github-actions update PRs.
  • CONTRIBUTING.md — adds upstream-remote setup, fork-sync recipe, and a note about GitHub's first-time contributor approval gate.

No secrets are touched. Release workflows (tag-triggered OIDC publish) left alone.

Test plan

  • CI runs on this PR and passes all 7 checks (lint + 6-way test matrix)
  • Dependabot begins opening weekly PRs next cycle
  • After merge, a follow-up sets repo-level branch protection to require these checks

- ci.yml: add explicit `permissions: contents: read`, concurrency group
  (cancels superseded fork-PR runs), persist-credentials:false on
  checkout, pip cache, fail-fast:false across matrix. Broaden
  pull_request trigger so PRs targeting any branch are still linted.
- CODEOWNERS: default @CoreNovus/maintainers so every PR (including
  fork PRs) requests a review from the team.
- dependabot.yml: weekly updates for the three pip packages and
  github-actions, capped at 5 open PRs per ecosystem.
- CONTRIBUTING.md: add upstream-remote step, sync recipe, and a note
  that first-time fork contributors will see a "Approve and run"
  gate before CI runs.

No secrets are touched; release workflows (tag-triggered) are left
alone so OIDC PyPI publishing is unaffected.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jieyao-MilestoneHub jieyao-MilestoneHub merged commit 372c0fd into main Apr 15, 2026
7 checks passed
@jieyao-MilestoneHub jieyao-MilestoneHub deleted the chore/fork-ready-cicd branch April 15, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant