Skip to content

Commit 1566348

Browse files
Update license.yml
1 parent f3073c7 commit 1566348

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/license.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Update license
22

33
on:
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

612
concurrency:
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:

0 commit comments

Comments
 (0)