Skip to content

ci: use fsfe/reuse-action for REUSE compliance checks - #20

Merged
agherzan merged 1 commit into
canonical:mainfrom
agherzan:ag/fast-reuse
Aug 19, 2026
Merged

ci: use fsfe/reuse-action for REUSE compliance checks#20
agherzan merged 1 commit into
canonical:mainfrom
agherzan:ag/fast-reuse

Conversation

@agherzan

Copy link
Copy Markdown
Collaborator

Installing reuse via apt requires running apt-get update first, adding ~2 minutes to every CI run. Switch to the official fsfe/reuse-action which runs in a pre-built container, eliminating this overhead.

Introduce SKIP_REUSE variable to skip the reuse task in CI since compliance is now verified in a dedicated parallel job.

Installing reuse via apt requires running apt-get update first, adding
~2 minutes to every CI run. Switch to the official fsfe/reuse-action
which runs in a pre-built container, eliminating this overhead.

Introduce SKIP_REUSE variable to skip the reuse task in CI since
compliance is now verified in a dedicated parallel job.

Signed-off-by: Andrei Gherzan <andrei.gherzan@canonical.com>
@agherzan
agherzan requested a lite review from Copilot August 19, 2026 21:30
@agherzan agherzan self-assigned this Aug 19, 2026
@agherzan
agherzan merged commit 114f39d into canonical:main Aug 19, 2026
5 checks passed
@agherzan
agherzan deleted the ag/fast-reuse branch August 19, 2026 21:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR optimizes CI REUSE compliance checks by switching from installing reuse via apt to using the official fsfe/reuse-action, and introduces a SKIP_REUSE flag to avoid running the REUSE check inside the existing validation task when CI already verifies it in a dedicated job.

Changes:

  • Add a dedicated reuse job to validate.yml and release.yml that runs fsfe/reuse-action.
  • Remove the apt-get update && apt-get install reuse step from CI workflows to reduce runtime.
  • Update the validate Taskfile task to allow skipping the REUSE step in CI via SKIP_REUSE=true.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Taskfile.yml Makes the REUSE validation step skippable during task validate via SKIP_REUSE.
.github/workflows/validate.yml Adds a parallel REUSE compliance job using fsfe/reuse-action and skips REUSE inside task validate.
.github/workflows/release.yml Adds a REUSE compliance job and gates release on it; skips REUSE inside task validate.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Taskfile.yml
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