Committed by
GitHub
Add license copyright year(s) action (#72)
* Add license copyright year action * Update licenses.yml
Showing
1 changed file
with
25 additions
and
0 deletions
.github/workflows/licenses.yml
0 → 100644
| 1 | +name: Licenses | ||
| 2 | + | ||
| 3 | +on: | ||
| 4 | + schedule: | ||
| 5 | + - cron: '11 1 11 1 *' | ||
| 6 | + workflow_dispatch: | ||
| 7 | + | ||
| 8 | +jobs: | ||
| 9 | + years: | ||
| 10 | + timeout-minutes: 11 | ||
| 11 | + runs-on: ubuntu-latest | ||
| 12 | + name: Update copyright year(s) | ||
| 13 | + | ||
| 14 | + steps: | ||
| 15 | + - uses: actions/checkout@v2 | ||
| 16 | + with: | ||
| 17 | + fetch-depth: 0 | ||
| 18 | + - uses: FantasticFiasco/action-update-license-year@v2 | ||
| 19 | + with: | ||
| 20 | + token: ${{ secrets.GITHUB_TOKEN }} | ||
| 21 | + path: '**/LICENSE' | ||
| 22 | + commitTitle: Update copyright year in LICENSE file(s) | ||
| 23 | + prTitle: Update copyright year in LICENSE file(s) | ||
| 24 | + prBody: New year is here and we want to keep up with time. | ||
| 25 | + assignees: creativecreatorormaybenot |
-
Please register or login to post a comment