name: license

on:
  schedule:
    - cron: "0 0 1 1 *"

concurrency:
  group: ${{ github.workflow }}
  cancel-in-progress: true

jobs:
  license:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - uses: FantasticFiasco/action-update-license-year@v3
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
