From 128bee1388e87a1169596f6787d3a3913c3c7928 Mon Sep 17 00:00:00 2001 From: Dinakar <26552821+dinakar29@users.noreply.github.com> Date: Tue, 30 Nov 2021 14:20:01 -0600 Subject: [PATCH] Generate license report (#24) * Generate license report * Restrict AGPL licenses --- .github/workflows/licenses.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/licenses.yaml diff --git a/.github/workflows/licenses.yaml b/.github/workflows/licenses.yaml new file mode 100644 index 00000000..3ccb9dae --- /dev/null +++ b/.github/workflows/licenses.yaml @@ -0,0 +1,25 @@ +name: License report 🗃 + +on: + push: + branches: + - main + - pre-release + pull_request: + branches: + - main + - pre-release + workflow_call: + +jobs: + license: + runs-on: ubuntu-latest + name: Check 🚩 + steps: + - name: Checkout repo 🛎 + uses: actions/checkout@v2 + + - name: Generate license report 📜 + uses: insightsengineering/r-license-report@v1.0.0 + with: + regex: "^AGPL.*"