File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ name: Update license
22
33on :
44 workflow_call :
5+ inputs :
6+ path :
7+ type : string
8+ description : A path or wildcard pattern specifying files to transform.
9+ default : ' LICENSE'
10+ required : false
511
612concurrency :
713 group : ${{ github.workflow }}-${{ github.ref }}
@@ -18,12 +24,15 @@ jobs:
1824 - uses : actions/checkout@v6
1925 with :
2026 fetch-depth : 0
27+
2128 - uses : FantasticFiasco/action-update-license-year@v3
2229 id : license
2330 with :
2431 token : ${{ secrets.GITHUB_TOKEN }}
2532 commitTitle : ' The year in the LICENSE file has been updated'
2633 prTitle : ' The year in the LICENSE file has been updated'
34+ path : ${{ inputs.path }}
35+
2736 - name : Merge PR
2837 if : steps.license.outputs.pullRequestNumber != ''
2938 env :
You can’t perform that action at this time.
0 commit comments