Skip to content

Commit

Permalink
Update License GitHub Action (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
LanikSJ authored Jul 15, 2024
1 parent 72c2509 commit b7fb836
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/update-license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,28 @@ on:
schedule:
- cron: '0 10 1 1 *' # 10:00 AM on January 1

permissions:
issues: write
pull-requests: write

concurrency:
group: update-license
cancel-in-progress: ${{ github.event_name != 'issue_comment' }}

jobs:
update-license-year:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v3
- name: Update License Year
uses: FantasticFiasco/action-update-license-year@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commitAuthorEmail: [email protected]
- name: Merge pull request
- name: Merge Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit b7fb836

Please sign in to comment.