Skip to content

A local-first personal finance app

Use personal access token securely for VRT update workflow push (#6356)

Matiss Janis Aboltins6f76b67da777
diff --git a/.github/workflows/vrt-update-apply.yml b/.github/workflows/vrt-update-apply.yml
index d853ebde82..0ae775d886 100644
--- a/.github/workflows/vrt-update-apply.yml
+++ b/.github/workflows/vrt-update-apply.yml
@@ -121,7 +121,11 @@ jobs:
env:
HEAD_REF: ${{ steps.metadata.outputs.head_ref }}
HEAD_REPO: ${{ steps.metadata.outputs.head_repo }}
+ GITHUB_TOKEN: ${{ secrets.ACTIONS_UPDATE_TOKEN }}
run: |
+ # Configure git to use the token via credential helper (avoids token in URLs/logs)
+ git config --local credential.helper '!f() { echo "username=x-access-token"; echo "password=${GITHUB_TOKEN}"; }; f'
+ git remote set-url origin "https://github.com/${HEAD_REPO}.git"
git push origin "HEAD:refs/heads/$HEAD_REF"
echo "Successfully pushed VRT updates to $HEAD_REPO@$HEAD_REF"
diff --git a/packages/desktop-client/e2e/page-models/mobile-budget-menu-modal.ts b/packages/desktop-client/e2e/page-models/mobile-budget-menu-modal.ts
index 5f39f11721..e62d6378b5 100644
--- a/packages/desktop-client/e2e/page-models/mobile-budget-menu-modal.ts
+++ b/packages/desktop-client/e2e/page-models/mobile-budget-menu-modal.ts
@@ -30,7 +30,7 @@ export class BudgetMenuModal {
name: 'Set to yearly average',
});
this.applyBudgetTemplateButton = locator.getByRole('button', {
- name: 'Apply budget template',
+ name: 'Overwrite with template',
});
}
diff --git a/upcoming-release-notes/6356.md b/upcoming-release-notes/6356.md
new file mode 100644
index 0000000000..ed519b75b3
--- /dev/null
+++ b/upcoming-release-notes/6356.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+Use personal access token for update-vrt workflow