Skip to content

feat(COD-7079): skip the IaC scan when no IaC-related files are modified#264

Merged
jeremydubreil merged 1 commit into
mainfrom
optimize-iac-invocation
Jun 2, 2026
Merged

feat(COD-7079): skip the IaC scan when no IaC-related files are modified#264
jeremydubreil merged 1 commit into
mainfrom
optimize-iac-invocation

Conversation

@jeremydubreil
Copy link
Copy Markdown
Contributor

@jeremydubreil jeremydubreil commented Jun 2, 2026

Only run the IaC scanner when the PR are touching IaC files.

Tested here with a PR touching IaC files and here with a PR without IaC files.

@jeremydubreil jeremydubreil marked this pull request as ready for review June 2, 2026 11:19
@jeremydubreil jeremydubreil force-pushed the optimize-iac-invocation branch from 7d964d0 to bc1b2f2 Compare June 2, 2026 11:33
Copy link
Copy Markdown

@satellite15 satellite15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we have this? @baltoiteodor has this PR in IAC https://github.com/lacework-dev/soluble-cli/pull/457 to add a new hidden command which is to be used to determine if iac should run in if there are modified IAC files. Why are we duplicating effort?

@satellite15 satellite15 dismissed their stale review June 2, 2026 12:00

This is temporary and iac prescan will be implemented in due course

@jeremydubreil jeremydubreil merged commit 7fd105a into main Jun 2, 2026
4 checks passed
@jeremydubreil jeremydubreil deleted the optimize-iac-invocation branch June 2, 2026 12:49
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