Browse Source

Update update-copyright-years-in-license-file.yml

pull/8/head
Daniel Gibbs 2 years ago
committed by GitHub
parent
commit
2c49b801b3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .github/workflows/update-copyright-years-in-license-file.yml

7
.github/workflows/update-copyright-years-in-license-file.yml

@ -2,6 +2,7 @@
name: Update copyright year(s) in license file
on:
workflow_dispatch:
schedule:
- cron: "0 3 1 1 *" # 03:00 AM on January 1
@ -15,3 +16,9 @@ jobs:
- uses: FantasticFiasco/action-update-license-year@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: LICENSE.md
- name: Merge pull request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr merge --merge --delete-branch

Loading…
Cancel
Save