Skip to content

Commit

Permalink
Fix reuse compliance and GitHub action (#850)
Browse files Browse the repository at this point in the history
* Fix reuse compliance
- convert dep5 reuse configuration to REUSE.toml and add an annotation for the robots.txt

* Upgrade reuse CI action to v3

* Upgrade reuse CI action to v5
  • Loading branch information
1Maxnet1 authored Feb 7, 2025
1 parent efb4539 commit c1ac0c4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v2
uses: fsfe/reuse-action@v5
12 changes: 0 additions & 12 deletions .reuse/dep5

This file was deleted.

20 changes: 20 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version = 1
SPDX-PackageName = "Transitous"
SPDX-PackageDownloadLocation = "https://github.com/public-transport/transitous/"

[[annotations]]
path = "feeds/**.json"
precedence = "aggregate"
SPDX-FileCopyrightText = "none"
SPDX-License-Identifier = "CC0-1.0"

[[annotations]]
path = "website/data/license.json"
precedence = "aggregate"
SPDX-FileCopyrightText = "none"
SPDX-License-Identifier = "CC0-1.0"

[[annotations]]
path = "ansible/roles/nginx/files/robots.txt"
SPDX-FileCopyrightText = "none"
SPDX-License-Identifier = "CC0-1.0"

0 comments on commit c1ac0c4

Please sign in to comment.