We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3482960 commit 4d23a7fCopy full SHA for 4d23a7f
.github/workflows/fetch-licenses.yaml
@@ -1,7 +1,12 @@
1
name: Fetch Licenses
2
3
on:
4
- workflow_dispatch: # Allows manual triggering of the workflow
+ workflow_dispatch:
5
+ inputs:
6
+ force_run:
7
+ description: 'Force run license extraction'
8
+ required: false
9
+ default: 'false'
10
schedule:
11
- cron: '0 0 * * *' # Runs at midnight ET
12
push:
@@ -30,6 +35,7 @@ jobs:
30
35
cp spdx-license-list-data/json/exceptions.json cmd/exceptions.json
31
36
32
37
- name: Check for changes
38
+ if: ${{ github.event.inputs.force_run == 'false' }}
33
39
run: |
34
40
git diff --exit-code -- cmd/licenses.json cmd/exceptions.json || exit 0
41
0 commit comments