Skip to content

Commit

Permalink
Update license.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar authored Jan 2, 2025
1 parent 725c4c0 commit 05e1d8b
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,5 @@ on:
workflow_dispatch:

jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v3
id: license
with:
token: ${{ secrets.GITHUB_TOKEN }}
commitTitle: 'The year in the LICENSE file has been updated'
prTitle: 'The year in the LICENSE file has been updated'
- name: Merge PR
if: steps.license.outputs.pullRequestNumber != ''
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr merge --merge --delete-branch ${{ steps.license.outputs.pullRequestNumber }}
Update:
uses: TheDragonCode/.github/.github/workflows/license.yml@main

0 comments on commit 05e1d8b

Please sign in to comment.