From c0da537d260546d7b6c346169311c33e58db1f88 Mon Sep 17 00:00:00 2001 From: Sam Kottler Date: Sat, 29 Jan 2022 10:03:56 -0500 Subject: [PATCH] actions: add LicenseFinder --- .github/workflows/licensing.yml | 22 ++++++++++++++++++++ doc/dependency_decisions.yml | 37 +++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 .github/workflows/licensing.yml create mode 100644 doc/dependency_decisions.yml diff --git a/.github/workflows/licensing.yml b/.github/workflows/licensing.yml new file mode 100644 index 0000000..bf48b57 --- /dev/null +++ b/.github/workflows/licensing.yml @@ -0,0 +1,22 @@ +name: Verify dependency licenses + +on: + push: + branches: + - main + pull_request: + types: + - opened + - reopened + - synchronize + +jobs: + licensing: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: sudo gem install license_finder + - run: go get -v ./... + - run: license_finder diff --git a/doc/dependency_decisions.yml b/doc/dependency_decisions.yml new file mode 100644 index 0000000..14a9664 --- /dev/null +++ b/doc/dependency_decisions.yml @@ -0,0 +1,37 @@ +--- +- - :permit + - bsd-2-clause + - :who: + :why: + :versions: [] + :when: 2022-01-29 15:00:47.721236000 Z +- - :permit + - bsd-3-clause + - :who: + :why: + :versions: [] + :when: 2022-01-29 15:00:48.022596000 Z +- - :permit + - apache-2.0 + - :who: + :why: + :versions: [] + :when: 2022-01-29 15:00:48.281393000 Z +- - :permit + - MIT + - :who: + :why: + :versions: [] + :when: 2022-01-29 15:00:48.545683000 Z +- - :permit + - ISC + - :who: + :why: + :versions: [] + :when: 2022-01-29 15:00:48.811668000 Z +- - :permit + - mpl-2.0 + - :who: + :why: + :versions: [] + :when: 2022-01-29 15:00:49.071997000 Z