Skip to content

Commit 4126637

Browse files
committed
hmm
1 parent e2cdf3d commit 4126637

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/update-timestamp.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
update-timestamp:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
steps:
1214
- uses: actions/checkout@v4
1315
with:
@@ -45,4 +47,12 @@ jobs:
4547
4648
- name: Commit changes
4749
run: |
48-
50+
git config --global user.name 'GitHub Action'
51+
git config --global user.email '[email protected]'
52+
git add *.properties
53+
if git diff --staged --quiet; then
54+
echo "No changes to commit"
55+
else
56+
git commit -m "Update timestamps for modified files [skip ci]"
57+
git push
58+
fi

0 commit comments

Comments
 (0)