Merge pull request #230 from digitalocean/fix-license-date-futureproof

github-actions/license: make license year future-proof
This commit is contained in:
Matt1360 2023-02-09 11:27:45 -04:00 committed by GitHub
commit 49e6345cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 .