Skip to content

Commit

Permalink
NO-JIRA Adds update-license-year action
Browse files Browse the repository at this point in the history
  • Loading branch information
davividal committed Oct 2, 2024
1 parent 5e4bd53 commit e3e42f9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/copyright-update.yml
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
2 changes: 1 addition & 1 deletion .github/workflows/next-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
pull-requests: read
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
docker-sonarqube
Copyright (C) 2015-2019 SonarSource SA
Copyright (C) 2015-2024 SonarSource SA
mailto:info AT sonarsource DOT com

This product includes software developed at
Expand Down

0 comments on commit e3e42f9

Please sign in to comment.