Skip to content

ci(reuse): add reuse compliance workflow#357

Merged
vitormattos merged 5 commits intoLibreSign:mainfrom
lfals:feat/issue-347-reuse-compliance
Feb 24, 2026
Merged

ci(reuse): add reuse compliance workflow#357
vitormattos merged 5 commits intoLibreSign:mainfrom
lfals:feat/issue-347-reuse-compliance

Conversation

@lfals
Copy link
Contributor

@lfals lfals commented Feb 24, 2026

Summary

Implements REUSE compliance pipeline action.

Changes

  • Add REUSE CI workflow at .github/workflows/reuse.yml
  • Add REUSE.toml with config

Validation

Tested with local run of the action using act

  • Command: act -j reuse-compliance-check

Scenarios

  • Test with no license header
...

| # SUMMARY
|
| * Bad licenses: 0                                                                                               
| * Deprecated licenses: 0
| * Licenses without file extension: 0
| * Missing licenses: CC0-1.0                                                                                     
| * Unused licenses: 0
| * Used licenses: AGPL-3.0-or-later, CC0-1.0
| * Read errors: 0
| * Invalid SPDX License Expressions: 0                                                                           
| * Files with copyright information: 6 / 132                                                                     
| * Files with license information: 6 / 132
|                                                                                                                 
| Unfortunately, your project is not compliant with version 3.3 of the REUSE Specification :-(
|                                                                                                                 
...                                                                                                           
|
[REUSE Compliance Check/reuse-compliance-check]   ❌  Failure - Main REUSE Compliance Check [1.25852975s]         [REUSE Compliance Check/reuse-compliance-check] exit with `FAILURE`: 1                                            
[REUSE Compliance Check/reuse-compliance-check] ⭐ Run Complete job
[REUSE Compliance Check/reuse-compliance-check]   ✅  Success - Complete job                                      
[REUSE Compliance Check/reuse-compliance-check] 🏁  Job failed
  • Test after running reuse download --all
...

| # SUMMARY                                                                                                      
|
| * Bad licenses: 0
| * Deprecated licenses: 0                                                                                        
| * Licenses without file extension: 0
| * Missing licenses: 0
| * Unused licenses: 0
| * Used licenses: AGPL-3.0-or-later, CC0-1.0                                                                     
| * Read errors: 0
| * Invalid SPDX License Expressions: 0
| * Files with copyright information: 6 / 132                                                                     
| * Files with license information: 6 / 132
|                                                                                                                 
| Unfortunately, your project is not compliant with version 3.3 of the REUSE Specification :-(
...                                                                                                                
|
[REUSE Compliance Check/reuse-compliance-check]   ❌  Failure - Main REUSE Compliance Check [1.172589875s]        [REUSE Compliance Check/reuse-compliance-check] exit with `FAILURE`: 1                                            
[REUSE Compliance Check/reuse-compliance-check] ⭐ Run Complete job
[REUSE Compliance Check/reuse-compliance-check]   ✅  Success - Complete job                                      
[REUSE Compliance Check/reuse-compliance-check] 🏁  Job failed

  • Test after adding license headers
...
| # SUMMARY
|
| * Bad licenses: 0
| * Deprecated licenses: 0
| * Licenses without file extension: 0
| * Missing licenses: 0
| * Unused licenses: 0
| * Used licenses: AGPL-3.0-or-later, CC0-1.0                                                                     
| * Read errors: 0
| * Invalid SPDX License Expressions: 0                                                                           
| * Files with copyright information: 132 / 132
| * Files with license information: 132 / 132                                                                     
|
| Congratulations! Your project is compliant with version 3.3 of the REUSE Specification :-)
[REUSE Compliance Check/reuse-compliance-check]   ✅  Success - Main REUSE Compliance Check [1.168571208s]        [REUSE Compliance Check/reuse-compliance-check] ⭐ Run Complete job
[REUSE Compliance Check/reuse-compliance-check] Cleaning up container for job reuse-compliance-check
[REUSE Compliance Check/reuse-compliance-check]   ✅  Success - Complete job                                      
[REUSE Compliance Check/reuse-compliance-check] 🏁  Job succeeded

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
add lock and robots file to ignore

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
fix type error, missing comma

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
fix robots path

Signed-off-by: Luis Amorim <luisfelipeamorim@hotmail.com>
@lfals lfals force-pushed the feat/issue-347-reuse-compliance branch from 7f0bc7d to 09e81f3 Compare February 24, 2026 02:23
@lfals lfals marked this pull request as ready for review February 24, 2026 02:30
@lfals lfals mentioned this pull request Feb 24, 2026
7 tasks
Copy link
Member

@vitormattos vitormattos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@vitormattos vitormattos merged commit e3b72b8 into LibreSign:main Feb 24, 2026
1 check passed
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.

2 participants