diff --git a/.github/workflows/copyright-update.yml b/.github/workflows/copyright-update.yml new file mode 100644 index 00000000..993070b8 --- /dev/null +++ b/.github/workflows/copyright-update.yml @@ -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 diff --git a/.github/workflows/next-scan.yml b/.github/workflows/next-scan.yml index a1976182..f6da0598 100644 --- a/.github/workflows/next-scan.yml +++ b/.github/workflows/next-scan.yml @@ -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 diff --git a/NOTICE.txt b/NOTICE.txt index faeb35dc..f115973b 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -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