Skip to content

Commit c9bb121

Browse files
committed
Update workflow
1 parent 6fff687 commit c9bb121

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/update-license-year.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
- name: Check out repo
1717
uses: actions/checkout@v4
1818

19-
- name: Update year in LICENSE.md (MIT header line)
19+
- name: Update year in LICENSE
2020
shell: bash
2121
run: |
2222
set -euo pipefail
2323
24-
FILE=$(ls LICENSE* | head -n 1)
24+
FILE="LICENSE"
2525
YEAR="$(date -u +%Y)"
2626
2727
if [[ ! -f "$FILE" ]]; then
@@ -45,6 +45,6 @@ jobs:
4545
git config user.name "github-actions[bot]"
4646
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
4747
48-
git add LICENSE.md
48+
git add LICENSE
4949
git commit -m "Update LICENSE year to $(date -u +%Y)"
5050
git push

0 commit comments

Comments
 (0)