Repository navigation
revert: "ci(workflows): consolidate pr workflows into ci.yml" - #16
Conversation
This reverts commit e15f52b.
📝 WalkthroughWalkthroughGitHub Actions ワークフロー構造が統合から分散型へ変更されました。 Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR reverts a previous consolidation of PR-related workflows into a single ci.yml, restoring dedicated workflows for PR title linting and auto-assigning the PR author.
Changes:
- Re-enabled the standalone Semantic PR Title workflow.
- Re-enabled the standalone Auto Author Assign workflow.
- Removed the consolidated
.github/workflows/ci.yml.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
.github/workflows/semantic-pr-title.yml |
Restores PR title lint workflow previously commented out. |
.github/workflows/auto-author-assign.yml |
Restores PR author auto-assign workflow previously commented out. |
.github/workflows/ci.yml |
Deletes the consolidated workflow that previously bundled both jobs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/auto-author-assign.yml:
- Line 17: Change the external Action reference used in the pull_request_target
job from a mutable tag to an immutable commit SHA: replace the uses entry
"toshimaru/auto-author-assign@v3.0.1" with the repository@<commit-SHA> form
(e.g., toshimaru/auto-author-assign@<SHA>) so the exact commit is executed;
ensure any other external actions in this workflow are likewise pinned to commit
SHAs to prevent upstream tag replacement when running under pull_request_target.
In @.github/workflows/semantic-pr-title.yml:
- Line 22: This workflow uses amannn/action-semantic-pull-request and
marocchino/sticky-pull-request-comment under pull_request_target with write
permissions; replace their tag references with their full commit SHAs (pin to
the exact repository commit) so the executed code cannot change via upstream tag
updates—update the occurrences of "uses:
amannn/action-semantic-pull-request@..." and "uses:
marocchino/sticky-pull-request-comment@..." to use the full SHA strings for each
action.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 3cfa8f12-920f-4d4a-9798-2e5076dd6bcb
📒 Files selected for processing (3)
.github/workflows/auto-author-assign.yml.github/workflows/ci.yml.github/workflows/semantic-pr-title.yml
💤 Files with no reviewable changes (1)
- .github/workflows/ci.yml
📜 Review details
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2026-02-06T05:30:47.662Z
Learnt from: Yusuke4869
Repo: densanken/PR-sandbox PR: 1
File: .github/workflows/semantic-pr-title.yml:11-13
Timestamp: 2026-02-06T05:30:47.662Z
Learning: amannn/action-semantic-pull-request を使用する場合、WIP 状態の PR を管理するために commit status API (POST /repos/:owner/:repo/statuses/:sha) を利用します。これにはリポジトリのトークンに write:statuses 権限が必要です。該当ワークフロー (.github/workflows/semantic-pr-title.yml のようなファイル) を使用する際は、トークン権限を appropriate に設定し、WIP の PR を 'pending' ステータスへ設定する挙動を理解しておくこと。
Applied to files:
.github/workflows/auto-author-assign.yml.github/workflows/semantic-pr-title.yml
🔇 Additional comments (1)
.github/workflows/semantic-pr-title.yml (1)
11-13:statuses: writeを戻したのは適切です。
wip: trueを有効にしたamannn/action-semantic-pull-requestでは pending status の更新にこの権限が必要なので、この revert で必要権限が復元されています。Based on learnings amannn/action-semantic-pull-request を使用する場合、WIP 状態の PR を管理するために commit status API (POST /repos/:owner/:repo/statuses/:sha) を利用し、これにはリポジトリのトークンに write:statuses 権限が必要です。
Reverts #15
Summary by CodeRabbit
リリースノート