From 04aab250aa112c5fdbe0f34e0e64785aab64e97b Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 21 Jan 2022 16:52:41 +0200 Subject: [PATCH] ci: prevent adding GPL licensed code by accident. --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b287044a45..569f510e3b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,14 @@ concurrency: cancel-in-progress: true 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: runs-on: ubuntu-20.04 timeout-minutes: 15