Update update-vrt.yml (#3799)

This commit is contained in:
Koen van Staveren
2024-11-07 16:44:19 +01:00
committed by GitHub
parent f14b160e5c
commit 985b653a87

View File

@@ -44,6 +44,8 @@ jobs:
- name: Create patch
run: |
git config --system --add safe.directory "*"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git reset
git add "**/*.png"
if git diff --staged --quiet; then
@@ -79,9 +81,9 @@ jobs:
- name: Apply patch and push
run: |
git config --system --add safe.directory "*"
git apply Update-VRT.patch
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git apply Update-VRT.patch
git add "**/*.png"
if git diff --staged --quiet; then
echo "No changes to commit"