From e45d53438d0aa614f1862ac17c0371b34b775f9a Mon Sep 17 00:00:00 2001 From: Harry Swift Date: Wed, 7 Jan 2026 13:46:12 +0000 Subject: [PATCH] Add workflow to update copyright year in license file --- .../update-copyright-years-in-license-file.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/update-copyright-years-in-license-file.yaml diff --git a/.github/workflows/update-copyright-years-in-license-file.yaml b/.github/workflows/update-copyright-years-in-license-file.yaml new file mode 100644 index 0000000..4856a7d --- /dev/null +++ b/.github/workflows/update-copyright-years-in-license-file.yaml @@ -0,0 +1,17 @@ +name: Update copyright year(s) in license file + +on: + schedule: + - cron: '0 3 1 1 *' # 03:00 AM on January 1 + workflow_dispatch: + +jobs: + update-license-year: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + with: + fetch-depth: 0 + - uses: FantasticFiasco/action-update-license-year@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }}