Skip to content

Merge dev into stable: CLA workflow update#3017

Merged
aconite33 merged 7 commits intostablefrom
dev
Apr 1, 2026
Merged

Merge dev into stable: CLA workflow update#3017
aconite33 merged 7 commits intostablefrom
dev

Conversation

@aconite33
Copy link
Copy Markdown
Contributor

Summary

Merges the updated CLA workflow from dev into stable.

  • API-based bot detection (checks GitHub type == "Bot", not string matching)
  • Checks all PR committers, not just the author
  • Null login hardening (unknown committers require CLA)
  • Reduced permissions (dropped actions:write and contents:write)

Already rolled out to all other org repos.

TheTechromancer and others added 7 commits March 17, 2026 03:22
Replace the single PR-author org membership check with a unified step
that iterates all committers on the PR and checks each against:
1. GitHub API account type (type == "Bot" for App accounts)
2. Org membership

Commits with no associated GitHub login are treated as non-exempt
(prevents bypass via spoofed email with no GitHub account).

Tested on aconite33/cla-workflow-test:
- Human committer: correctly required CLA
- github-actions[bot]: correctly skipped via API type check
Tested on aconite33/cla-workflow-test with only pull-requests:write
and statuses:write -- both human CLA and bot skip paths work correctly.
The CLA assistant uses PERSONAL_ACCESS_TOKEN (app token) for writing
signatures to the remote CLA repo, not GITHUB_TOKEN.
Fix CLA workflow to skip bots and check all committers
Merge stable into dev to resolve CLA workflow conflict
@aconite33 aconite33 merged commit d57a125 into stable Apr 1, 2026
24 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93%. Comparing base (593fe04) to head (fde791c).
⚠️ Report is 8 commits behind head on stable.

Additional details and impacted files
@@           Coverage Diff            @@
##           stable   #3017     +/-   ##
========================================
+ Coverage      92%     93%     +1%     
========================================
  Files         416     450     +34     
  Lines       34690   44445   +9755     
========================================
+ Hits        31667   40892   +9225     
- Misses       3023    3553    +530     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

3 participants