Skip to content

Update copyright year(s) in license file #1

Update copyright year(s) in license file

Update copyright year(s) in license file #1

name: Update copyright year(s) in license file
on:
schedule:
- cron: "0 3 1 1 *" # 03:00 AM on January 1
workflow_dispatch:
jobs:
license:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
source-html:
needs: license
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: "src/**/*.html"
transform: (?<=&copy; )(?<from>\d{4})?-?(\d{4})?