Skip to content

ci: skip CLA workflow on forks without CLA bot credentials#9

Merged
andybrown668 merged 1 commit intomainfrom
ci/skip-cla-workflow-forks
Apr 6, 2026
Merged

ci: skip CLA workflow on forks without CLA bot credentials#9
andybrown668 merged 1 commit intomainfrom
ci/skip-cla-workflow-forks

Conversation

@andybrown668
Copy link
Copy Markdown

Summary

Skip the CLA Check workflow when github.repository is not rustfs/rustfs, so forks without CLA bot app credentials do not fail on every PR.

Verification

N/A (workflow-only change).

Made with Cursor

Copilot AI review requested due to automatic review settings April 6, 2026 15:31
Copy link
Copy Markdown

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

Updates the CLA Check GitHub Actions workflow to avoid failing in forked repositories that don’t have the CLA bot app credentials configured.

Changes:

  • Add a job-level if: guard so the CLA workflow only runs when github.repository is rustfs/rustfs.
  • Preserve the existing issue_comment gating logic while adding the repository check.

@andybrown668 andybrown668 merged commit cf91fd3 into main Apr 6, 2026
7 of 9 checks passed
@andybrown668 andybrown668 deleted the ci/skip-cla-workflow-forks branch April 6, 2026 15:33
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