Enable branch protection on main with required CI checks

Open Beginner friendly
#117 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
github-actions
Domain
ci-cd

Research direction

Start by inspecting the repository's active CI workflow and its recent successful runs, then review GitHub's branch-protection settings for main. Enable protection with the CI status check and pull-request requirement, enabling up-to-date branches if compatible. Re-run the documented GitHub API protection check and record the result.

Written by the indexing model from the issue text.

Description

DevOps P0 Task

Context

E1's exit criteria included requiring CI status checks before merging, but GitHub currently reports main as unprotected.

Verification evidence from audit:

  • gh workflow list shows CI active.
  • gh run list --workflow CI shows recent successful runs.
  • gh api repos/Taleef7/CorvEd/branches/main/protection returns Branch not protected.

Acceptance criteria

  • main has branch protection enabled.
  • The CI workflow status check is required before merging.
  • Require pull request before merging is enabled, unless intentionally skipped and documented.
  • Require branches to be up to date is enabled if compatible with the repo workflow.
  • Re-run the GitHub API branch-protection check and record the result.

References

  • Related closed issue: #8
  • Related epic: #5
Dominant language
TypeScript
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Taleef7/CorvEd

All issues in Taleef7/CorvEd

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.