github-actions/license: make license year future-proof

This commit is contained in:
Vaibhav Bhembre 2023-02-09 10:23:36 -05:00
parent d8bf71a8fc
commit 3cb7ca9409
No known key found for this signature in database
GPG Key ID: 34F4747D1597F1E2
1 changed files with 3 additions and 3 deletions

View File

@ -16,9 +16,9 @@ name: License
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
jobs:
check-file-licenses:
@ -38,4 +38,4 @@ jobs:
run: go build -o addlicense github.com/google/addlicense
- name: Check file licenses
run: ./addlicense -c DigitalOcean -l apache -y 2022 --check .
run: ./addlicense -c DigitalOcean -l apache -y $(date +"%Y") --check .