Skip to content

feat: add GitHub Actions workflow for PR gating and main branch prote… - #1

Merged
igorrius merged 2 commits into
mainfrom
run-test-on-pull-request-a-merge-to-the-main-branch
Mar 21, 2026
Merged

igorrius merged 2 commits into
mainfrom
run-test-on-pull-request-a-merge-to-the-main-branch

Conversation

@igorrius

Copy link
Copy Markdown
Owner

This pull request introduces automated CI enforcement for pull requests and main branch merges, using GitHub Actions and branch protection. It adds a workflow to run Go tests on PRs and main branch pushes, updates documentation to describe the new gating policy, and outlines the requirements and migration plan for repository maintainers.

CI Workflow and Enforcement:

  • Added .github/workflows/pr-main-ci.yml to run Go tests (go test ./...) automatically on pull requests and pushes to main, ensuring CI checks are run consistently.
  • Updated README.md to document the new CI gating and branch protection policies, including instructions for contributors and maintainers.

Specification and Documentation:

  • Added specification files and documentation (design.md, proposal.md, spec.md) outlining the goals, requirements, and migration plan for enforcing CI checks and branch protection. [1] [2] [3] [4]
  • Created a task list in tasks.md to track implementation and communication steps for the new CI policy.…ction

@igorrius igorrius self-assigned this Mar 21, 2026
@igorrius
igorrius merged commit e1c6fcf into main Mar 21, 2026
1 check passed
@igorrius
igorrius deleted the run-test-on-pull-request-a-merge-to-the-main-branch branch March 21, 2026 15:46
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