Skip to content

Conversation

@oscarvalenzuelab
Copy link
Collaborator

Summary

  • Add OSLiLi-based license scanning for source code changes
  • Checks modified files against allowed license policy
  • Posts results as PR comments for visibility

Features

  • Scans Python, JavaScript, Go, Rust, Ruby, Java, C/C++, and shell files
  • Uses OSLiLi for accurate license detection
  • Configurable allowed licenses list
  • Automated PR comment reporting
  • Only scans changed files for efficiency

Benefits

  • Ensures license compliance for new code
  • Early detection of problematic licenses
  • Consistent license policy across the project

- Add license-check.yml workflow that scans source code changes
- Uses OSLiLi to detect licenses in modified files
- Checks against allowed-licenses.txt policy
- Posts results as PR comments
- Supports multiple file types (py, js, go, rs, rb, java, c, cpp, h, sh)
@oscarvalenzuelab oscarvalenzuelab merged commit 0c369c4 into main Nov 4, 2025
7 checks passed
@oscarvalenzuelab oscarvalenzuelab deleted the add-license-scanning branch November 4, 2025 05:54
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