From 8ea915fc51c19ecf7792486996cc013a2d8ae7a6 Mon Sep 17 00:00:00 2001 From: anlerkan Date: Wed, 19 Apr 2023 15:33:44 +0300 Subject: [PATCH 1/2] chore: update year in license --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 9e9f1e2d..a4326696 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Tinyman +Copyright (c) 2023 Tinyman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 59d7227a9c8551a1e5728de2b1a52ac93670a1ac Mon Sep 17 00:00:00 2001 From: anlerkan Date: Wed, 19 Apr 2023 15:34:17 +0300 Subject: [PATCH 2/2] feat: add github action for updating the license years --- .../update-copyright-year-in-license.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/update-copyright-year-in-license.yml diff --git a/.github/workflows/update-copyright-year-in-license.yml b/.github/workflows/update-copyright-year-in-license.yml new file mode 100644 index 00000000..ff529622 --- /dev/null +++ b/.github/workflows/update-copyright-year-in-license.yml @@ -0,0 +1,16 @@ +name: Update copyright year(s) in license file + +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@v3 + with: + fetch-depth: 0 + - uses: FantasticFiasco/action-update-license-year@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token