Skip to content

Commit ad5e401

Browse files
committed
chore(reuse): set reuse lint in CI
Signed-off-by: Gaurav Mishra <[email protected]>
1 parent f1c8110 commit ad5e401

File tree

10 files changed

+381
-5
lines changed

10 files changed

+381
-5
lines changed

.github/workflows/reuse-lint.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: © 2023 Gaurav Mishra <[email protected]>
2+
3+
# SPDX-License-Identifier: GPL-2.0-only
4+
5+
name: REUSE Compliance Check
6+
7+
concurrency:
8+
group: static-${{ github.head_ref }}
9+
cancel-in-progress: true
10+
11+
on:
12+
push:
13+
branches: [main]
14+
pull_request:
15+
branches: [main]
16+
workflow_dispatch:
17+
18+
jobs:
19+
REUSE-Compliance-Check:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v3
23+
- name: REUSE Compliance Check
24+
uses: fsfe/reuse-action@v1
25+

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: 2023 Kavya Shukla <[email protected]>
2+
# SPDX-License-Identifier: GPL-2.0-only
3+
#
14
# If you prefer the allow list template instead of the deny list, see community template:
25
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
36
#
@@ -7,6 +10,7 @@
710
*.dll
811
*.so
912
*.dylib
13+
laas
1014

1115
# Test binary, built with `go test -c`
1216
*.test

LICENSES/GPL-2.0-only.txt

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!-- SPDX-FileCopyrightText: 2023 Kavya Shukla <[email protected]>
2+
3+
SPDX-License-Identifier: GPL-2.0-only
4+
-->
15
# LicenseDb
26

37
This project aims to create a centralized OSS license database, to manage opensource

cmd/laas/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-FileCopyrightText: 2023 Kavya Shukla <[email protected]>
2-
// SPDX-License-Identifier: GPL-2.0
2+
// SPDX-License-Identifier: GPL-2.0-only
33

44
package main
55

go.mod.license

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: 2023 Kavya Shukla <[email protected]>
2+
SPDX-License-Identifier: GPL-2.0-only

go.sum.license

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: 2023 Kavya Shukla <[email protected]>
2+
SPDX-License-Identifier: GPL-2.0-only

pkg/api/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-FileCopyrightText: 2023 Kavya Shukla <[email protected]>
2-
// SPDX-License-Identifier: GPL-2.0
2+
// SPDX-License-Identifier: GPL-2.0-only
33

44
// Package API is used to make the functions related to each endpoints.
55
package api

pkg/authenticate/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-FileCopyrightText: 2023 Kavya Shukla <[email protected]>
2-
// SPDX-License-Identifier: GPL-2.0
2+
// SPDX-License-Identifier: GPL-2.0-only
33

44
//Package authenticate is build to authenticate the API.
55
package authenticate

pkg/models/doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-FileCopyrightText: 2023 Kavya Shukla <[email protected]>
2-
// SPDX-License-Identifier: GPL-2.0
2+
// SPDX-License-Identifier: GPL-2.0-only
33

4-
// Package models is made to connect the database and to store the structs of
4+
// Package models is made to connect the database and to store the structs of
55
//different data.
66
package models

0 commit comments

Comments
 (0)