Skip to content

Update Licence

Update Licence #2

name: Update Licence
on:
schedule:
- cron: '0 3 1 1 *'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v3
with:
token: ${{ secrets.GH_TOKEN }}
- name: Merge PR
if: steps.license.outputs.pullRequestNumber != ''
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: gh pr merge --merge --delete-branch ${{ steps.license.outputs.pullRequestNumber }}