We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fff687 commit c9bb121Copy full SHA for c9bb121
1 file changed
.github/workflows/update-license-year.yml
@@ -16,12 +16,12 @@ jobs:
16
- name: Check out repo
17
uses: actions/checkout@v4
18
19
- - name: Update year in LICENSE.md (MIT header line)
+ - name: Update year in LICENSE
20
shell: bash
21
run: |
22
set -euo pipefail
23
24
- FILE=$(ls LICENSE* | head -n 1)
+ FILE="LICENSE"
25
YEAR="$(date -u +%Y)"
26
27
if [[ ! -f "$FILE" ]]; then
@@ -45,6 +45,6 @@ jobs:
45
git config user.name "github-actions[bot]"
46
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
47
48
- git add LICENSE.md
+ git add LICENSE
49
git commit -m "Update LICENSE year to $(date -u +%Y)"
50
git push
0 commit comments