Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/.github/workflows/licensed.yml
diff options
context:
space:
mode:
authorThomas Boop <52323235+thboop@users.noreply.github.com>2020-09-10 09:24:29 -0400
committerGitHub <noreply@github.com>2020-09-10 09:24:29 -0400
commit0e68cab139db160d6e9937a23b4cbb50fa4b3627 (patch)
treeea260231833d446fc1bf0dd0f27676c162643a61 /.github/workflows/licensed.yml
parent1b17a1892e29d220788bc4ef8aba7bdd5689767b (diff)
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
Diffstat (limited to '.github/workflows/licensed.yml')
-rw-r--r--.github/workflows/licensed.yml20
1 files changed, 20 insertions, 0 deletions
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