.github: detect GPL license in PRs

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
This commit is contained in:
Ernesto Puerta 2024-10-15 14:09:48 +02:00
parent 8723f17294
commit 2ed1a3bd70
No known key found for this signature in database
GPG Key ID: B4F6FFCB7A8384ED

13
.github/workflows/check-license.yml vendored Normal file
View File

@ -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"