We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e38df2 commit 96bb85aCopy full SHA for 96bb85a
.github/workflows/copyright-check.yml
@@ -0,0 +1,37 @@
1
+name: Copyright Check
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ paths-ignore:
8
+ - '**.md'
9
+ - '**.svg'
10
+ - '**.png'
11
+ - 'docs/**'
12
+ - '.github/**'
13
+ push:
14
15
16
17
18
19
20
+jobs:
21
22
+ build:
23
+ runs-on: ubuntu-22.04
24
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+ - name: install sponge
28
+ shell: bash
29
+ run: sudo apt-get update && sudo apt-get install -y moreutils
30
+ - name: generate copyright
31
32
+ run: |
33
+ make gen-copyright
34
+ - name: check diff
35
36
37
+ git diff --exit-code
0 commit comments