From 0e68cab139db160d6e9937a23b4cbb50fa4b3627 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Thu, 10 Sep 2020 09:24:29 -0400 Subject: Add `Licensed` To Help Verify Prod Licenses (#326) * Add Licensed file and workflow * manual updates of dependencies * Delete licenses.txt * Ignore Generated Files in Git PR's --- .github/workflows/licensed.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/licensed.yml (limited to '.github') diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml new file mode 100644 index 0000000..ae62613 --- /dev/null +++ b/.github/workflows/licensed.yml @@ -0,0 +1,20 @@ +name: Licensed + +on: + push: {branches: main} + pull_request: {branches: main} + +jobs: + test: + runs-on: ubuntu-latest + name: Check licenses + steps: + - uses: actions/checkout@v2 + - run: npm ci + - name: Install licensed + run: | + cd $RUNNER_TEMP + curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz + sudo tar -xzf licensed.tar.gz + sudo mv licensed /usr/local/bin/licensed + - run: licensed status \ No newline at end of file -- cgit v1.2.3