You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add CI check for ASFv2 license header in the files #385
jobs:
license-header-check:
runs-on: ubuntu-latest
name: Check License Header
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install HawkEye
# This CI job is bound by installation time, use `--profile dev` to speed it up
run: cargo install hawkeye --version 6.2.0 --locked --profile dev
- name: Run license header check
run: ci/scripts/license_header.sh
Might be useful to use something like cargo binstall to not have to compile it
Activity
Kriskras99 commentedon Jan 2, 2026
Seems like a good idea. Github CI:
Might be useful to use something like
cargo binstallto not have to compile itmartin-g commentedon Jan 2, 2026
They provide a Github Action too:
Kriskras99 commentedon Jan 2, 2026
That's even easier! Let's do that
martin-g commentedon Jan 2, 2026
The tricky part with third-party Github actions is that they need to be allowed for https://github.com/apache/ projects.
I have memories that the Infra team added a selfserve tool but I don't see it at https://selfserve.apache.org/
If the CI check fails that the action is not allowed then either ask Infra team how to enable it or use bininstall.
Fixes #385: Check that all source files have ASFv2 licence
Fixes #385: Check that all source files have ASFv2 licence
Fixes #385: Check that all source files have ASFv2 licence
Fixes #385: Check that all source files have ASFv2 licence
Fixes #385: Check that all source files have ASFv2 licence
Fixes #385: Check that all source files have ASFv2 licence
Fixes #385: Check that all source files have ASFv2 licence
Fixes #385: Check that all source files have ASFv2 licence
Fixes apache#385: Check that all source files have ASFv2 licence (apa…