Skip to content

License Copyright Year #2

License Copyright Year

License Copyright Year #2

name: License Copyright Year
on:
schedule:
- cron: '0 7 1 1 *'
jobs:
update-license-year:
name: Update License Year
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_REPO_TOKEN }}
- name: Update copyright year in LICENSE.md
uses: FantasticFiasco/action-update-license-year@f3d1911d2a05b8a69fee1de4033b2847c347d911
with:
token: ${{ secrets.GH_REPO_TOKEN }}
commitTitle: 'docs(LICENSE): Update copyright year(s)'
prTitle: 'docs(LICENSE): Update copyright year(s)'
prBody: |
It's that time of the year, let's update the `LICENSE.md` copyright year.
Oh, and while I'm here, Happy New Year 🥳
labels: documentation
- name: Merge pull request
run: |
gh pr merge --auto --squash --delete-branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}