Skip to content

Commit 4e7e4b1

Browse files
authored
Update year action to use v2
1 parent 6e1b16a commit 4e7e4b1

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/year.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,5 @@ jobs:
1515
uses: endormi/yearplusplus@v1
1616
with:
1717
files: 'LICENSE'
18-
19-
- name: Setup Git configuration
20-
run: |
21-
git config user.name "Year++"
22-
git config user.email "<>"
23-
24-
- name: Commit changes
25-
run: |
26-
if [ -n "$(git status --porcelain)" ]; then
27-
git commit -am "Update copyright year"
28-
git push origin ${{ github.head_ref }}
29-
else
30-
echo "No changes to commit."
31-
fi
18+
username: 'Year++'
19+
email: '<>'

0 commit comments

Comments
 (0)