forcedotcom / forcedotcom/code-analyzer

[Feature Request] Add notice/warning/error messages for PR violations

オープン
#1,903 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
USER STORY
主要言語
TypeScript
スター
240
フォーク
52
平均マージ
1日 23時間
マージ済み PR(30日)
5

説明

### Product Area

The “Run Salesforce Code Analyzer” GitHub Action

### Your Need or Problem

Currently the violations for files changed in the PR are split out from the global violations but not easily navigable. Using the list of violations I have to navigate to file & line myself.

### Your Desired Solution

It would be helpful if the violations reported for files in the PR could be reported as annotations at the proper location. This should be possible by using messages from Worfklow Commands: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#setting-an-error-message

### Alternatives Considered

_No response_

### Additional Context (Screenshots, Files, etc)

As an example, this is how the PMD Action reports violations:
Image

Image

### Workaround

_No response_

### Urgency

Low

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、pull requestで変更されたファイルの違反を分離するGitHub Actionのエントリポイントを見つけ、次にアノテーション用のGitHub Actionsワークフローコマンドを確認します。報告されたファイルと行の位置に、適切な通知、警告、またはエラーレベルのメッセージとしてそれらの違反が表示されれば完了です。

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

評価

技術スタック
github-actions, typescript
領域
ci-cd
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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