1212permissions : {}
1313
1414jobs :
15- root-compliance-check :
16- name : Root Workspace Compliance Check
17- runs-on : ubuntu-24.04
18- steps :
19- - uses : actions/checkout@v5
20- - name : Execute REUSE Compliance Check for root workspace only
21- run : ./scripts/check-root-reuse-compliance.sh
22-
2315 packages-compliance-check :
24- needs : root-compliance-check
25- name : Packages Compliance Check
16+ name : Packages Compliance
2617 runs-on : ubuntu-24.04
2718 strategy :
2819 matrix :
@@ -37,16 +28,34 @@ jobs:
3728 steps :
3829 - uses : actions/checkout@v5
3930
31+ # Check each package if compliance is correctly set up.
32+ # Each one of these packages would be published separately.
4033 - name : Execute REUSE Compliance Check for ${{ matrix.package }}
4134 uses : fsfe/reuse-action@v6
4235 with :
4336 args : --root ${{ matrix.package }} lint
4437
38+ # Do the report for the whole repository, adding badge to the
39+ # README file.
4540 final-report :
46- name : Compliance Check
47- needs : [root-compliance-check, packages-compliance-check]
41+ name : REUSE Compliance Report
42+ needs : [packages-compliance-check]
4843 runs-on : ubuntu-24.04
4944 steps :
50- - name : Report
45+ - uses : actions/checkout@v5
46+
47+ - name : Temporarily add MIT license for full repo compliance
48+ run : |
49+ # Download MIT license temporarily for api.reuse.software reporting
50+ reuse download MIT
51+
52+ - name : Run official REUSE lint for api.reuse.software reporting
53+ uses : fsfe/reuse-action@v6
54+ with :
55+ args : lint
56+
57+ - name : Clean up temporary license file
5158 run : |
52- echo "📊 Final Report: OK"
59+ # Remove the temporarily added MIT license
60+ rm -f LICENSES/MIT.txt
61+ echo "Temporarily added licenses cleaned up"
0 commit comments