ci: prevent adding GPL licensed code by accident.

pull/13246/head
Delyan Angelov 2022-01-21 16:52:41 +02:00
parent cbd3c14e83
commit 04aab250aa
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 8 additions and 0 deletions

View File

@ -13,6 +13,14 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
no-gpl-by-accident:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: No GPL licensed code, should be added accidentally
run: |
! grep -r --exclude="*.yml" "a GPL license" .
code-formatting-perf-regressions: code-formatting-perf-regressions:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 15 timeout-minutes: 15