Repository navigation
Conversation
INFRA-4106. The token is optional. The sensor still no-ops until WIZ_SENSOR_ENABLED is true. Co-authored-by: Cursor <cursoragent@cursor.com>
The composite action cannot read vars, so the workflow passes the org switch in. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
🟡 Changes recommended
Every action invocation omits wiz-sensor-enabled, causing the sensor to remain disabled regardless of the organization variable.
6 open findings
Pass wiz-sensor-enabled input to the sensor action · New Pass wiz-sensor-enabled input to the sensor action · New Pass wiz-sensor-enabled input to the sensor action · New Pass wiz-sensor-enabled input to the sensor action · New Pass wiz-sensor-enabled input to the sensor action · New Pass wiz-sensor-enabled input to the sensor action · New
What changed in this PR
Threads the optional Wiz sensor token through CI and release workflows.
Changes:
- Declares and forwards
WIZ_SENSOR_TOKEN. - Passes the token to checkout/setup actions.
- Updates the changelog.
| File | Description |
|---|---|
CHANGELOG.md |
Documents token forwarding. |
.github/workflows/publish-release.yml |
Propagates the token through release jobs. |
.github/workflows/publish-rc-docs.yml |
Forwards the token for RC documentation. |
.github/workflows/publish-main-docs.yml |
Forwards the token for staging documentation. |
.github/workflows/publish-docs.yml |
Declares and consumes the optional secret. |
.github/workflows/main.yml |
Supplies the token to CI and reusable workflows. |
.github/workflows/create-release-pr.yml |
Supplies the token during release preparation. |
.github/workflows/build-lint-test.yml |
Declares and consumes the token across test jobs. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
WIZ_SENSOR_TOKENsecret intoaction-checkout-and-setupfor INFRA-4106, the MetaMask counterpart of INFRA-4094.WIZ_SENSOR_ENABLEDis the stringtrue.v3tag includes thewiz-sensor-tokeninput. Actionlint will reject the new input until then.Test plan
action-checkout-and-setupv3acceptswiz-sensor-tokenWIZ_SENSOR_ENABLEDunset orfalseMade with Cursor