Skip to content

Commit

Permalink
Add license-is-osi-or-fsf-approved rule type.
Browse files Browse the repository at this point in the history
This rule type checks that the license detected by GitHub is approved
by either OSI or FSF. It uses two data sources, one to call GitHub API
to get the SPDX identifier of the license, and another one to get the
updated list of licenses approved by from SPDX repository.

This rule can be used to implement `OSPS-LE-02`.
  • Loading branch information
blkt committed Jan 8, 2025
1 parent cbcd86c commit c9cf8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data-sources/osi.yaml → data-sources/spdx.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: v1
type: data-source
name: osi
name: spdx
context: {}
rest:
def:
Expand Down

0 comments on commit c9cf8ec

Please sign in to comment.