Skip to content

Add ASF license header check#55

Open
jianguotian wants to merge 1 commit into
apache:mainfrom
jianguotian:fix/asf-release-compliance
Open

Add ASF license header check#55
jianguotian wants to merge 1 commit into
apache:mainfrom
jianguotian:fix/asf-release-compliance

Conversation

@jianguotian

Copy link
Copy Markdown
Contributor

Purpose

Add an automated ASF license header check to catch release compliance issues before voting.

Changes

  • Add tools/check_license_headers.py to verify tracked text files have ASF license headers or explicit exemptions.
  • Exempt Cargo.lock, LICENSE, NOTICE, and golden .hex fixtures that should not be modified with text headers.
  • Run the license header check in GitHub Actions CI.

Tests

  • python3 tools/validate_asf_yaml.py
  • python3 tools/check_license_headers.py
  • Parsed .github/workflows/ci.yml with PyYAML
  • git diff --check
  • Source-release RAT scan: Archives: 0, 0 Unknown Licenses with golden .hex fixtures excluded

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