Skip to content

Commit 9e2841a

Browse files
committed
gha: Adding workflow for checking SPDX tags
1 parent 60ad87d commit 9e2841a

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/qa.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,14 @@ jobs:
1919
with:
2020
clang-format-version: '14'
2121
check-path: .
22+
23+
check-spdx-tags:
24+
name: check spdx tags
25+
defaults:
26+
run:
27+
shell: bash -el {0}
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v3
31+
32+
- uses: kt3k/[email protected]

.licenserc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"src/*.cpp": [
3+
"// SPDX-FileCopyrightText:",
4+
"// SPDX-License-Identifier:"
5+
],
6+
"include/godzilla/*.h": [
7+
"// SPDX-FileCopyrightText:",
8+
"// SPDX-License-Identifier:"
9+
]
10+
}

0 commit comments

Comments
 (0)