forcedotcom / forcedotcom/code-analyzer
[Feature Request] Add notice/warning/error messages for PR violations
- 主要言語
- 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:
### Workaround
_No response_
### Urgency
Low
コントリビューションガイド
調査の方向性
まず、pull requestで変更されたファイルの違反を分離するGitHub Actionのエントリポイントを見つけ、次にアノテーション用のGitHub Actionsワークフローコマンドを確認します。報告されたファイルと行の位置に、適切な通知、警告、またはエラーレベルのメッセージとしてそれらの違反が表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github-actions, typescript
- 領域
- ci-cd
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100