Skip to content

chore: add Wiz sensor step to GitHub Actions jobs (INFRA-4215) - #405

Merged
chaitanyapotti merged 3 commits into
masterfrom
chore/wiz-sensor-step
Oct 27, 2026
Merged

chaitanyapotti merged 3 commits into
masterfrom
chore/wiz-sensor-step

Conversation

@javiergarciavera

@javiergarciavera javiergarciavera commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Motivation and Context

Run the Wiz runner sensor on Linux GitHub-hosted runners across the Web3Auth org, controlled by one org-level switch (INFRA-4215).

Jira Link: https://consensyssoftware.atlassian.net/browse/INFRA-4215

Description

Adds a Wiz sensor step as the first step of each job that runs on a Linux GitHub-hosted runner. The step calls the composite action in Web3Auth/.github (PR #5).

  • Gated: it only starts when the org variable WIZ_SENSOR_ENABLED is true and the org secret WIZ_SENSOR_TOKEN is set. Until then every job logs Skipped because WIZ_SENSOR_ENABLED is not true. and runs as before.
  • Fail-open: a sensor failure never fails the job.
  • Off switch: setting WIZ_SENSOR_ENABLED to false disables it everywhere with no workflow change.
  • Jobs on macOS, self-hosted runners, container jobs, reusable-workflow callers and pull_request_target workflows are not touched.

Draft until PR #5 is merged. The action is pinned to the commit on the PR #5 branch. Before this PR is marked ready, the pin is updated to the merge commit of PR #5.

How has this been tested?

YAML parses for every changed file, the diff is additions only, and the sensor is the first step of every changed job. The step is a no-op while WIZ_SENSOR_ENABLED is unset, so CI should pass unchanged. Not yet run with the sensor enabled; that happens in the Phase 3 pilot.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Note

Low Risk
Additive, org-gated CI step on Linux runners with fail-open behavior; does not alter application or auth logic.

Overview
Adds a Wiz sensor step as the first step in the test job on ubuntu-latest, calling the pinned composite action Web3Auth/.github/.github/actions/wiz-sensor@v1.0.0.

The step is controlled by org variable WIZ_SENSOR_ENABLED and secret WIZ_SENSOR_TOKEN; when disabled or unset, CI should behave as before. No changes to checkout, Node setup, or existing build/test/deploy steps.

Reviewed by Cursor Bugbot for commit 27963d1. Bugbot is set up for automated code reviews on this repo. Configure here.

javiergarciavera and others added 2 commits October 21, 2026 16:45
Adds a gated, fail-open Wiz runner sensor step as the first step of Linux
GitHub-hosted jobs. It is a no-op until WIZ_SENSOR_ENABLED is true. INFRA-4215

Co-Authored-By: Claude <noreply@anthropic.com>
Pin to the merge commit of Web3Auth/.github#5. INFRA-4215

Co-Authored-By: Claude <noreply@anthropic.com>
@javiergarciavera
javiergarciavera marked this pull request as ready for review October 21, 2026 15:39
@javiergarciavera
javiergarciavera requested a review from a team as a code owner October 21, 2026 15:39
Empty commit to trigger workflows. INFRA-4215

Co-Authored-By: Claude <noreply@anthropic.com>
@chaitanyapotti
chaitanyapotti merged commit 1417521 into master Oct 27, 2026
7 checks passed
@chaitanyapotti
chaitanyapotti deleted the chore/wiz-sensor-step branch October 27, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants