diff --git a/.github/workflows/update-year.yml b/.github/workflows/update-year.yml new file mode 100644 index 000000000..15caa1237 --- /dev/null +++ b/.github/workflows/update-year.yml @@ -0,0 +1,21 @@ +name: Update year + +on: + # We would not trigger update until actual changes are done + # to our code, or we explicitly request + push: + branches: + - 'master' + workflow_dispatch: + + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: FantasticFiasco/action-update-license-year@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/LICENSE b/LICENSE index 261eeb9e9..160df58e7 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2019-2024 The DANDI Team Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/docs/source/conf.py b/docs/source/conf.py index 668d523b0..7d9ad8788 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -20,8 +20,8 @@ import dandi project = "dandi" -copyright = "2021-2024, DANDI Team" -author = "DANDI Team" +copyright = "2021-%Y The DANDI Team" +author = "The DANDI Team" # The full version, including alpha/beta/rc tags version = dandi.__version__