Skip to content

Ci fix: Fix reusable workflow loops, checkout refs, and workspace cleaning#75

Merged
Jakio815 merged 10 commits into
mainfrom
ci-fix
Jun 22, 2026
Merged

Ci fix: Fix reusable workflow loops, checkout refs, and workspace cleaning#75
Jakio815 merged 10 commits into
mainfrom
ci-fix

Conversation

@Jakio815

@Jakio815 Jakio815 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

This PR resolves critical issues in the CI workflow when called as a reusable workflow from iotauth:

  • Avoid infinite loop triggers: Replaced github.event_name checks with inputs.iotauth-ref checks. (Since github.event_name inherits the caller's event name like push, the old condition did not prevent recursive calling).
  • Correct checkout refs: Fixed checkout failures in called runs by ensuring Unit-Test checks out the correct sst-c-api ref instead of using the caller's (iotauth) commit SHA.

@Jakio815 Jakio815 changed the title Ci fix Ci fix: Fix reusable workflow loops, checkout refs, and workspace cleaning Jun 22, 2026
@Jakio815 Jakio815 merged commit 7786f72 into main Jun 22, 2026
1 check passed
@sonarqubecloud

Copy link
Copy Markdown

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