Google-only example workflow uses unsupported action inputs

オープン 初心者向け
#10 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
88/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions
領域
ci-cd

調査の方向性

Google-only のサンプルワークフローから始め、その stackql-audit-action の入力を、issue に記載されているサポート対象入力の一覧と比較します。サポートされていない入力を削除し、設定された GCP プロジェクトには project-id を使用します。その後、ワークフローを実行し、summary にプロジェクトと想定される findings が含まれていることを確認します。

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

説明

Description

While testing the Google-only example workflow, GitHub Actions reports unsupported inputs for stackql-audit-action.

The workflow completes successfully, but the audit summary shows an empty project and 0 findings.

GitHub Actions reports the following warning:

Unexpected input(s) 'gcp-project-id', 'upload-logs', 'log-retention-days',
valid inputs are ['project-id', 'gcp-credentials', 'google-provider-version',
'queries-path', 'fail-on-severity', 'stackql-version']

Observed behavior

The workflow completes with Success, but the generated summary shows:

Project: ``
Checks run: 7
Errors: 0
Total findings: 0

The project value is empty even though a GCP project was configured for the workflow.

Expected behavior

The Google-only example workflow should use the currently supported action inputs so that the configured GCP project is passed correctly to the audit.

Based on the current action inputs, it looks like:

gcp-project-id:

should be:

project-id:

The example also passes:

upload-logs:
log-retention-days:

but these do not appear in the current list of supported action inputs.

Additional context

I found this while validating the Google-only audit workflow for a tutorial.

After using the supported project-id input, the audit was able to query the intended GCP project and return the expected findings.

主要言語
Python
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

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

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

はじめの一歩

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

似ている issue

Python の issue をもっと見る

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

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