Skip to content

Harden repo contribution and CI path#3

Merged
tjkessler merged 1 commit into
mainfrom
chore/repo-hardening
Jul 17, 2026
Merged

Harden repo contribution and CI path#3
tjkessler merged 1 commit into
mainfrom
chore/repo-hardening

Conversation

@tjkessler

@tjkessler tjkessler commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Always run CI on pull requests so the new required status checks on main can pass for non-code PRs too
  • Add CODEOWNERS and Dependabot (Actions + pip) for review routing and dependency updates
  • Pin openjournals/openjournals-draft-action to a commit SHA instead of @master

Companion GitHub settings already applied on the repo (not in this PR):

  • Active Protect main ruleset (PR required, no force-push/delete, CI checks required, no bypass)
  • Secret scanning + push protection, Dependabot alerts/security updates
  • Actions limited to GitHub-owned, verified, and an allowlist of third-party actions
  • PyPI environment: reviewer required, admin bypass off, tag-only deployments
  • Removed unused PYPI_API_TOKEN (Trusted Publishing / OIDC remains)
  • Auto-delete head branches on merge

Test plan

  • Confirm CI jobs test (3.10/3.11/3.12), notebooks, and docs all run and pass on this PR
  • Confirm draft-pdf still builds if paper paths change (pin SHA still works)
  • After merge, verify a direct push to main is rejected
  • Confirm Dependabot opens/schedules update PRs after merge

Made with Cursor

Always run CI on PRs so required main checks stay satisfiable, add CODEOWNERS and Dependabot, and pin the JOSS draft Action to a commit SHA.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tjkessler
tjkessler merged commit b3f0372 into main Jul 17, 2026
8 checks passed
@tjkessler
tjkessler deleted the chore/repo-hardening branch July 17, 2026 03:33
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