Skip to content

A local-first personal finance app

fix vrt update workflow (#7699)

Matt Fiddaman263358b5cfad
diff --git a/.github/workflows/vrt-update-generate.yml b/.github/workflows/vrt-update-generate.yml
index 836c0befc4..8fb2f165da 100644
--- a/.github/workflows/vrt-update-generate.yml
+++ b/.github/workflows/vrt-update-generate.yml
@@ -65,6 +65,10 @@ jobs:
ref: ${{ steps.pr.outputs.head_sha }}
persist-credentials: false
+ - name: Trust workspace directory
+ run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
+ shell: bash
+
- name: Set up environment
uses: ./.github/actions/setup
with:
@@ -87,9 +91,6 @@ jobs:
- name: Create patch with PNG changes only
id: create-patch
run: |
- # Trust the repository directory (required for container environments)
- git config --global --add safe.directory "$GITHUB_WORKSPACE"
-
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
diff --git a/upcoming-release-notes/7699.md b/upcoming-release-notes/7699.md
new file mode 100644
index 0000000000..fe1be5c108
--- /dev/null
+++ b/upcoming-release-notes/7699.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [matt-fidd]
+---
+
+Fix VRT update workflow failing