Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 65c7a6c

Browse files
authored
chore: change path for search license files (#454)
* chore: update secret for license action * chore: change path for search license files * chore: change path for search license files
1 parent e9addc7 commit 65c7a6c

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

.github/workflows/update-copyright-years.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Update copyright year
22

33
on:
44
schedule:
5-
- cron: '0 1 22 * *'
5+
- cron: '0 1 22 * *' # Runs at 01:00 UTC on the 22nd of every month
66

77
jobs:
88
license:
@@ -14,18 +14,11 @@ jobs:
1414
- uses: FantasticFiasco/action-update-license-year@v2
1515
with:
1616
token: ${{ secrets.LICENSE_SECRET }}
17-
path: LICENSE*
18-
commitTitle: "chore: update year in LICENSE file"
19-
20-
source:
21-
needs: license
22-
runs-on: ubuntu-latest
23-
steps:
24-
- uses: actions/checkout@v3
25-
with:
26-
fetch-depth: 0
27-
- uses: FantasticFiasco/action-update-license-year@v2
28-
with:
29-
token: ${{ secrets.GITHUB_TOKEN }}
30-
path: src/**/*.java
31-
commitTitle: "chore: update year in license header"
17+
path: | # Add new path with glob pattern https://www.npmjs.com/package/glob
18+
**/LICENSE*
19+
**/*.java
20+
**/*.rb
21+
**/*.py
22+
**/*.xml
23+
.release/*
24+
commitTitle: "chore: update license year"

0 commit comments

Comments
 (0)