-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SONAR-23393 Adds update-license-year action
- Loading branch information
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Update copyright year | ||
|
||
on: | ||
schedule: | ||
- cron: '0 3 1 1 *' # 03:00 AM on January 1 | ||
|
||
jobs: | ||
update-license-year: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: FantasticFiasco/action-update-license-year@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
path: | | ||
NOTICE.txt | ||
README.md | ||
branchName: license/no-jira-update-year-{{currentYear}} | ||
prTitle: NO-JIRA - Update copyright year | ||
commitTitle: NO-JIRA - Update copyright year |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters