Skip to content

Change default branch from 'master' to 'main' - #122

Merged
abechan1 merged 1 commit into
mainfrom
abechan1-patch-3
Oct 14, 2026
Merged

abechan1 merged 1 commit into
mainfrom
abechan1-patch-3

Conversation

@abechan1

@abechan1 abechan1 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Closes #116

Summary by CodeRabbit

  • Chores
    • Automated workflow runs on pushes to main instead of master. Pull-request triggers remain unchanged. This does not introduce any user-facing feature changes.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T23:22:19.793643Z 02d3f4d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0df42529-7624-41ba-bbd4-c951abe6f5a7
📥 Commits

Reviewing files that changed from the base of the PR and between c867389 and 02d3f4d.

📒 Files selected for processing: 1
  • .github/workflows/main.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The workflow now runs on pushes to main instead of master. Pull-request triggers remain unchanged.

Changes: Workflow Push Trigger

Layer / File(s) Summary
Update push branch filter
.github/workflows/main.yml
The push branch filter changes from master to main. Pull-request triggers are unchanged.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 02d3f

Pushes to main trigger the workflow, matching the PR target, while pull-request triggering is unchanged. No concrete merge risk remains.

### Architecture Summary

Architecture risk: 🔵 Low · up to 02d3f

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed systems: None identified.

Architecture concerns
No architecture-level concerns identified.

Review details

Before / after behavior

  • observed — Modified behavior in .github/workflows/main.yml: The push branch filter changes from master to main.
Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage Passed 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…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly describes the main change: updating the workflow branch from "master" to "main".
✨ 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

A rabbit checks the branch at dawn,
The push now hops to main along.
Pull requests keep their old route,
One small edit sets the sprout.
The rabbit nibbles, pleased and bright.

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 02d3f4d21c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

push:
branches:
- master
- main

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add a regression test for the main-branch trigger

This workflow behavior changes without the test-suite update required for every repository change. Add a spec that parses .github/workflows/main.yml and asserts that pushes to main trigger the workflow, so a future branch-name regression cannot silently disable push CI.

AGENTS.md reference: AGENTS.md:L4-L4

Useful? React with 👍 / 👎.

@abechan1
abechan1 merged commit 486b4ef into main Oct 14, 2026
5 checks passed
@abechan1
abechan1 deleted the abechan1-patch-3 branch October 14, 2026 23:22
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.

fix(ci): main.yml の push トリガーが master のままで main で CI が走らない

1 participant