]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
.github: detect GPL license in PRs 60317/head
authorErnesto Puerta <epuertat@redhat.com>
Tue, 15 Oct 2024 12:09:48 +0000 (14:09 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Tue, 15 Oct 2024 12:09:48 +0000 (14:09 +0200)
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
.github/workflows/check-license.yml [new file with mode: 0644]

diff --git a/.github/workflows/check-license.yml b/.github/workflows/check-license.yml
new file mode 100644 (file)
index 0000000..d201ed7
--- /dev/null
@@ -0,0 +1,13 @@
+---
+name: "Check Incomatible Licenses"
+on: [pull_request]
+
+jobs:
+  check_pr:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Check PR
+      uses: JJ/github-pr-contains-action@526dfe784d8604ea1c39b6c26609074de95b1ffd  # releases/v14.1
+      with:
+        github-token: ${{github.token}}
+        diffDoesNotContain: "GNU General Public License"