MetaMask / MetaMask/action-security-code-scanner

Unable to validate code scanning workflow

オープン
#38 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
JavaScript
スター
10
フォーク
7
PR マージ指標
30日以内にマージされた PR はありません

説明

## Summary

When running scans the Security Code Scanner gives the following warning:

Example: https://github.com/MetaMask/metamask-extension/actions/runs/17072938137/job/48406519510#annotation:2:472

> [MetaMask Security Code Scanner](https://github.com/MetaMask/metamask-extension/actions/runs/17072938137/job/48406519510#annotation:2:472)
Unable to validate code scanning workflow: error: getWorkflow() failed: Error: Expected to find a code scanning workflow file at /home/runner/work/metamask-extension/metamask-extension/.github/workflows/security-code-scanner.yml, but no such file existed. This can happen if the currently running workflow checks out a branch that doesn't contain the corresponding workflow file.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

参照されているパス .github/workflows/security-code-scanner.yml とリンクされた GitHub Actions の実行結果から始め、チェックアウトされたブランチでスキャナーが workflow を見つけられない理由を特定します。action の workflow 検証エントリーポイントを読み、代表的な workflow で警告を再現します。スキャナーがこのエラーなしで意図した workflow を検証できれば完了です。

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

評価

技術スタック
github-actions, javascript
領域
ci-cd, security
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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