diff --git a/.changeset/soft-singers-taste.md b/.changeset/soft-singers-taste.md new file mode 100644 index 0000000..a5e027a --- /dev/null +++ b/.changeset/soft-singers-taste.md @@ -0,0 +1,5 @@ +--- +"typedoc-plugin-mermaid": patch +--- + +Add GitHub workflow to update copyright year in license file diff --git a/.github/workflows/update-license-year.yaml b/.github/workflows/update-license-year.yaml new file mode 100644 index 0000000..7f71c1b --- /dev/null +++ b/.github/workflows/update-license-year.yaml @@ -0,0 +1,14 @@ +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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + - uses: FantasticFiasco/action-update-license-year@9135da8f9ccc675217e02357c744b6b541d45cb0 # 3.0.2 + with: + token: ${{ secrets.GITHUB_TOKEN }}