Sticky PR comment: MVP that always posts the full table

オープン
#12 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, javascript
領域
ci-cd

調査の方向性

Read the action entry point and README to find how inputs, pull request events, and permissions are handled. Implement the opt-in comment: true behavior with direct REST API fetch calls, using a hidden HTML-comment marker to update the PR's existing comment; skip push events and warn without failing when permission is missing. Done when repeated runs keep one full-table comment per PR and the README documents the required pull-requests: write permission.

索引モデルが issue の本文から書いたものです。

説明

enhancement

Split out of #4, scoped to the part #4 itself calls the straightforward piece: "upsert a single comment containing the registry table, keyed by a hidden marker."

Scope

Implement only the always-post-full-table behaviour, opt-in via with: comment: true, defaulting to off. No diff-against-base-branch logic (that's the second half of #4, split separately so it can be reviewed independently).

Acceptance criteria

  • comment: true on a pull_request event upserts one comment per PR, keyed by a hidden HTML-comment marker, editing the same comment on repeated runs instead of accumulating.
  • No-op on push events.
  • Uses fetch against the REST API directly (no new runtime dependency), per #4's existing constraint.
  • Missing/insufficient token permission (pull-requests: write) produces a clear warning and the job still exits normally rather than failing the build over a comment it couldn't post.
  • README documents the required permission.

Complexity: medium.
Depends on: none; this can land before the diff-aware follow-up.

主要言語
JavaScript
スター
0
フォーク
0
平均マージ
7時間 28分
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codepacct/codepact-action のほかの issue

codepacct/codepact-action の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。