github-actions[bot] commented on code in PR #41703: URL: https://github.com/apache/beam/pull/41703#discussion_r4708862273
########## .github/workflows/refresh_looker_metrics.yml: ########## @@ -19,12 +19,21 @@ name: Refresh Looker Performance Metrics on: workflow_dispatch: + inputs: + LOOKERSDK_CLIENT_ID: + description: Your Looker Client ID. + required: true Review Comment: **🔴 Critical**: Accepting `LOOKERSDK_CLIENT_SECRET` (and `LOOKERSDK_CLIENT_ID`) as `workflow_dispatch` inputs in a public repository will expose the credentials in plaintext in the public GitHub Actions run logs. GitHub Actions does not mask `workflow_dispatch` inputs, and because they are assigned to top-level `env:` variables on lines 34–35, their plaintext values will be printed in the `env` block of every step. Additionally, marking these inputs as `required: true` prevents maintainers from manually triggering the workflow using the existing repository secrets (`secrets.LOOKERSDK_CLIENT_ID` and `secrets.LOOKERSDK_CLIENT_SECRET`). Please remove the `inputs` block and always source the credentials from `secrets`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
