From 042e85e34ea65fd90179546d8d0426424fc4d72d Mon Sep 17 00:00:00 2001 From: kamiazya Date: Thu, 13 Jun 2024 02:26:48 +0900 Subject: [PATCH] Add GitHub workflow to update copyright year in license file --- .changeset/soft-singers-taste.md | 5 +++++ .github/workflows/update-license-year.yaml | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .changeset/soft-singers-taste.md create mode 100644 .github/workflows/update-license-year.yaml 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 }}