We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 502dc8e commit a817398Copy full SHA for a817398
.github/workflows/fetch-licenses.yaml
@@ -0,0 +1,28 @@
1
+name: Fetch Licenses
2
+
3
+on:
4
+ workflow_dispatch: # Allows manual triggering of the workflow
5
+ schedule:
6
+ - cron: '0 0 * * *' # Runs at midnight ET
7
+ push:
8
+ branches:
9
+ - elr/update-licenses
10
11
+jobs:
12
+ fetch-licenses:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout Repository
17
+ uses: actions/checkout@v2
18
19
+ - name: Checkout SPDX Repository
20
21
+ with:
22
+ repository: spdx/license-list-data
23
+ path: spdx-license-list-data
24
25
+ - name: Copy Licenses
26
+ run: |
27
+ cp spdx-license-list-data/json/licenses.json cmd/licenses.json
28
+ cp spdx-license-list-data/json/exceptions.json cmd/exceptions.json
0 commit comments