Skip to content

ci: post sticky comment on invalid PR title - #128

Merged
kodiakhq[bot] merged 2 commits into
mainfrom
ci/sticky-pr-title-comment
Nov 16, 2026
Merged

kodiakhq[bot] merged 2 commits into
mainfrom
ci/sticky-pr-title-comment

Conversation

@RedStar071

@RedStar071 RedStar071 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

🔗 Linked issue

None.

🧭 Context

A failed title check only shows a red status. Contributors do not see the reason unless they open the run. The same sticky comment already works in redstar071.dev.

📚 Description

Adds the Semantic Pull Requests workflow. It checks the PR title against Conventional Commits and posts a sticky comment when the title is invalid. The comment is removed once the title is valid.

🤖 AI disclosure: Wolfstar Agent Kit modified this description. AI open source policy.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Reviews (2) · Last reviewed commit: "ci: format semantic pull request workflo..." · Reviewed by Greptile

Explain a failed title check in the pull request, like redstar071.dev. The comment goes away once the title is valid.
@coldtea-pr-lens

Copy link
Copy Markdown

Note

The title starts with ci:, so PR Lens left this pull request undrawn. Comment @pr-lens draw to draw it

github.comment.notice: false in .github/pr-lens.yml turns this note off

@pullfrog pullfrog 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.

✅ No new issues found.

Reviewed changes — the single new workflow file in this PR.

  • Semantic Pull Requests workflow — validates the PR title on pull_request_target (opened, edited, synchronize) with amannn/action-semantic-pull-request, using a lowercase-subject subjectPattern.
  • Sticky comment on failure — marocchino/sticky-pull-request-comment posts the lint error under the pr-title-lint-error header. A later step deletes it once the title is valid.
  • Security posture — both actions are SHA-pinned and nothing from the PR is checked out, so pull_request_target is safe here. Top-level permissions: {} is narrowed to contents: read, pull-requests: write and statuses: write on the job. error_message is only passed as an action input, not interpolated into a shell script.

Pullfrog  | View workflow run | Using claude-sonnet-5-5 | 𝕏

greptile-apps[bot]
greptile-apps Bot previously approved these changes Nov 16, 2026
@greptile-apps
greptile-apps Bot dismissed their stale review November 16, 2026 19:30

Dismissed because a newer commit was pushed; Greptile will re-review the current head.

@kodiakhq
kodiakhq Bot merged commit 7410220 into main Nov 16, 2026
11 checks passed
@kodiakhq
kodiakhq Bot deleted the ci/sticky-pr-title-comment branch November 16, 2026 19:32
RedStar071 added a commit that referenced this pull request Nov 23, 2026
### Context

Weekly AGENTS.md review of PRs merged into `main` in the last 7 days
(#128–#131).

### What changed and why

- **`.github/copilot-instructions.md`** — the "Internal API" key pattern
and
"API Route Structure" section said plugin-api infers a route's path and
method from its file location. That's no longer accurate (if it ever
was):
#130 found all ten existing routes were missing explicit
`route`/`methods`
  options and were 404ing in production as a result. Corrected the
  description, the code example, and added a second "non-obvious gotcha"
entry for it, since this is exactly the kind of silent failure the
existing
  gotcha about route `name` collisions already warns about.
- Noted that the Dockerfile's builder stage also runs `pnpm exec stars
prepare` before `prisma:generate`/`build` now (#130), next to the
existing
  Troubleshooting entry about that same step in CI.
- Noted the new `semantic-pull-requests.yml` workflow (#128): PR titles
follow Conventional Commits with a lowercase subject, and CI
posts/removes
  a sticky comment on failures. Added a one-line mention to both
  `AGENTS.md`'s quick reference and `copilot-instructions.md`'s commit
  message section.

#129 (raising Staryl's free limits, adding a Reddit limit) and #131
(dropping
an unused Kodiak config block) didn't need any documentation changes —
the
existing `limits.ts` file reference already covers #129, and #131 is
internal
CI config with no agent-facing convention.

---
_Generated by [Claude Code](https://claude.ai/code)_

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=116062713&amp;sig=607b14af4cc34dd06434b097ba641b2e1f1ae80f4fc53e0f305f1670fcc962a3"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=wolfstar-project&amp;next=%2Fwolfstar-project%2Fring%2Fpull%2F136&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This documentation-only PR appears safe
to merge.

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["docs: update AGENTS.md to
reflect
recent..."](3446e3b)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=wolfstar-project/ring)</sub>

<!-- /greptile_comment -->
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