Skip to content

ci: check license headers with hawkeye - #16

Merged
npmccallum merged 1 commit into
mainfrom
bot/devmap/hawkeye-license-headers
Oct 28, 2026
Merged

npmccallum merged 1 commit into
mainfrom
bot/devmap/hawkeye-license-headers

Conversation

@npmccallum

Copy link
Copy Markdown
Contributor

Summary

Add an automatic check that every Rust and shell source file starts with the right license line, so a file missing it gets caught before it merges.

Approach

  • Add licenserc.toml, the settings file for hawkeye (the license-header checker).
  • Add a quick “license headers” job that runs alongside the other fast checks, so the slower jobs wait for it.
  • Add the AMD Apache-2.0 license line (SPDX header) to the Rust and shell files that were missing it.

Verification

Add licenserc.toml and a tier-1 license-headers job so the slower
jobs wait on it with the other cheap checks. Stamp Rust and shell
sources with the AMD Apache-2.0 SPDX header.
@npmccallum
npmccallum merged commit e31cacc into main Oct 28, 2026
21 checks passed
@npmccallum
npmccallum deleted the bot/devmap/hawkeye-license-headers branch October 28, 2026 13:40
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