Skip to content

fix(ci): skip apidiff-go if no modules changed#1866

Open
erikburt wants to merge 1 commit intomainfrom
fix/apidiff-go-no-changes
Open

fix(ci): skip apidiff-go if no modules changed#1866
erikburt wants to merge 1 commit intomainfrom
fix/apidiff-go-no-changes

Conversation

@erikburt
Copy link
Contributor

@erikburt erikburt commented Feb 27, 2026

@erikburt erikburt self-assigned this Feb 27, 2026
@erikburt erikburt marked this pull request as ready for review February 27, 2026 23:35
@erikburt erikburt requested a review from a team as a code owner February 27, 2026 23:35
Copilot AI review requested due to automatic review settings February 27, 2026 23:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the API diff GitHub Actions workflow to skip the apidiff-go analysis job when the “changed modules” step reports no Go modules were modified, preventing the matrix job from erroring on an empty module list.

Changes:

  • Add a job-level if guard to analyze-api-changes so it only runs when modules-json is not [].

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants