Skip to content

Add InfraScan audit workflow to GitHub Actions#9399

Open
igor-soldev wants to merge 1 commit intoOpenMined:devfrom
igor-soldev:dev
Open

Add InfraScan audit workflow to GitHub Actions#9399
igor-soldev wants to merge 1 commit intoOpenMined:devfrom
igor-soldev:dev

Conversation

@igor-soldev
Copy link
Copy Markdown

@igor-soldev igor-soldev commented Apr 17, 2026

Description

This PR adds a new GitHub Actions workflow (.github/workflows/main.yml) to integrate InfraScan into the CI pipeline.

Motivation: To automate comprehensive infrastructure and security scanning. The workflow is configured to trigger on every push and pull_request. It uses the soldevelo/[email protected] action to generate an HTML report, which is then automatically uploaded as a GitHub artifact (retained for 14 days). This allows maintainers and contributors to easily review scan results directly from the Actions tab.

Affected Dependencies

This workflow introduces the following GitHub Actions dependencies:

How has this been tested?

  • Workflow trigger validation: Verified that the workflow triggers correctly on push/PR events.
  • Artifact generation: Checked that the infrascan-reports directory is created with proper permissions and that the HTML report is successfully generated by the action.
  • To reproduce: Push a new commit to this branch and navigate to the "Actions" tab. Open the "InfraScan Audit" workflow run and verify that the infrascan-report artifact is available for download at the bottom of the summary page.
  • Test configuration: Executed on the ubuntu-latest GitHub-hosted runner.

Checklist

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.

1 participant