This is an automated email from the ASF dual-hosted git repository. github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-9293-d6c9050c5d78d685cf246d97fce004d5675cdc12 in repository https://gitbox.apache.org/repos/asf/texera.git
commit 44b69d4a56c216e181dbb9b877981001072b2d74 Author: Meng Wang <[email protected]> AuthorDate: Sat Nov 7 09:27:25 2026 +0000 chore(licensing): narrow the license check's .txt ignore (#9293) ### What changes were proposed in this PR? This PR replaces the blanket `**/*.txt` entry in `.licenserc.yaml` with the seven text files that must stay verbatim: two bot comment bodies, `bin/protoc-version.txt`, the Iris dataset description, and three test fixtures. Any other `.txt` file now needs a license header, and the four requirements files already have one. `**/*.json` stays because JSON has no comment syntax. `**/*.csv` and `**/*.jsonl` are left for a separate change. ### Any related issues, documentation, discussions? Closes #9292. Related to #8808. ### How was this PR tested? Ran license-eye 0.8.0, the version CI uses, on `main` and `release/v1.3` with this change: both pass with 0 invalid files, and the four requirements files are now checked. An unheadered `.txt` probe file was ignored before this change and now fails the check with exit code 1. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-5-5) Co-authored-by: Xuan Gu <[email protected]> --- .licenserc.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 0cebbbb3ca..3c2d7e15f4 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -7,7 +7,15 @@ header: - 'licenses' - 'licenses-3rd-party-code' - '**/*.csv' - - '**/*.txt' + # Text files that must stay verbatim, so a header would change what they do: bot + # comment bodies, a version read with cat, a dataset description, and test fixtures. + - '.github/template-compliance-warning.txt' + - '.github/welcome-first-time-contributor.txt' + - 'bin/protoc-version.txt' + - 'bin/single-node/examples/datasets/iris-species/description.txt' + - 'common/workflow-operator/src/test/resources/line_numbers.txt' + - 'common/workflow-operator/src/test/resources/line_numbers_crlf.txt' + - 'common/workflow-operator/src/test/resources/numbers.txt' - '**/*.json' - '**/*.jsonl' - 'DESCRIPTION'
