A local-first personal finance app
Run `zizmor` auto-fix tool (#7533)
Julian Dominguez-Schatz29275a573d24
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.ymlindex ff1343689d..e6f381bc4e 100644--- a/.github/actions/setup/action.yml+++ b/.github/actions/setup/action.yml@@ -52,6 +52,7 @@ runs:with:repository: actualbudget/translationspath: ${{ inputs.working-directory }}/packages/desktop-client/locale+ persist-credentials: falseif: ${{ inputs.download-translations == 'true' }}- name: Remove untranslated languagesrun: packages/desktop-client/bin/remove-untranslated-languagesdiff --git a/.github/workflows/ai-generated-release-notes.yml b/.github/workflows/ai-generated-release-notes.ymlindex 67ff14db19..bf5290e932 100644--- a/.github/workflows/ai-generated-release-notes.yml+++ b/.github/workflows/ai-generated-release-notes.yml@@ -18,6 +18,8 @@ jobs:steps:- name: Checkout repositoryuses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupwith:diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.ymlindex 702c5d83eb..a7b2b1c1dc 100644--- a/.github/workflows/autofix.yml+++ b/.github/workflows/autofix.yml@@ -16,6 +16,8 @@ jobs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupwith:diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex 8b233076d9..97477ce99d 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -23,6 +23,8 @@ jobs:steps:- name: Checkout repositoryuses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Initialize CodeQLuses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1diff --git a/.github/workflows/count-points.yml b/.github/workflows/count-points.ymlindex 803d20da5e..bd5c9dd7c9 100644--- a/.github/workflows/count-points.yml+++ b/.github/workflows/count-points.yml@@ -17,6 +17,8 @@ jobs:steps:- name: Checkout repositoryuses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupwith:diff --git a/.github/workflows/cut-release-branch.yml b/.github/workflows/cut-release-branch.ymlindex a0c3040c92..732d27f6f8 100644--- a/.github/workflows/cut-release-branch.yml+++ b/.github/workflows/cut-release-branch.yml@@ -31,6 +31,7 @@ jobs:uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:ref: ${{ github.event.inputs.ref || 'master' }}+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupdiff --git a/.github/workflows/docker-edge.yml b/.github/workflows/docker-edge.ymlindex c8a7bbd1ca..230b097e6b 100644--- a/.github/workflows/docker-edge.yml+++ b/.github/workflows/docker-edge.yml@@ -37,6 +37,8 @@ jobs:os: [ubuntu, alpine]steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up QEMUuses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.ymlindex 46a3005044..87746b6385 100644--- a/.github/workflows/docker-release.yml+++ b/.github/workflows/docker-release.yml@@ -29,6 +29,8 @@ jobs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up QEMUuses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.ymlindex 4f72a32d96..777551c8ce 100644--- a/.github/workflows/e2e-test.yml+++ b/.github/workflows/e2e-test.yml@@ -33,6 +33,8 @@ jobs:image: mcr.microsoft.com/playwright:v1.59.1-jammysteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupwith:@@ -56,6 +58,8 @@ jobs:image: mcr.microsoft.com/playwright:v1.59.1-jammysteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupwith:@@ -90,6 +94,8 @@ jobs:image: mcr.microsoft.com/playwright:v1.59.1-jammysteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupwith:@@ -113,6 +119,8 @@ jobs:image: mcr.microsoft.com/playwright:v1.59.1-jammysteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setup- name: Download all blob reports@@ -137,7 +145,9 @@ jobs:mkdir -p vrt-metadataecho "${{ github.event.pull_request.number }}" > vrt-metadata/pr-number.txtecho "${{ needs.vrt.result }}" > vrt-metadata/vrt-result.txt- echo "${{ steps.playwright-report-vrt.outputs.artifact-url }}" > vrt-metadata/artifact-url.txt+ echo "${STEPS_PLAYWRIGHT_REPORT_VRT_OUTPUTS_ARTIFACT_URL}" > vrt-metadata/artifact-url.txt+ env:+ STEPS_PLAYWRIGHT_REPORT_VRT_OUTPUTS_ARTIFACT_URL: ${{ steps.playwright-report-vrt.outputs.artifact-url }}- name: Upload VRT metadataif: github.event_name == 'pull_request'uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1diff --git a/.github/workflows/electron-master.yml b/.github/workflows/electron-master.ymlindex 8ff38a8f4f..e9324137db 100644--- a/.github/workflows/electron-master.yml+++ b/.github/workflows/electron-master.yml@@ -31,6 +31,8 @@ jobs:runs-on: ${{ matrix.os }}steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- if: ${{ startsWith(matrix.os, 'windows') }}run: pip.exe install setuptools- if: ${{ ! startsWith(matrix.os, 'windows') }}@@ -57,9 +59,11 @@ jobs:METAINFO_FILE="packages/desktop-electron/extra-resources/linux/com.actualbudget.actual.metainfo.xml"TODAY=$(date +%Y-%m-%d)- VERSION=${{ steps.process_version.outputs.version }}+ VERSION=${STEPS_PROCESS_VERSION_OUTPUTS_VERSION}sed -i "s/%RELEASE_VERSION%/$VERSION/g; s/%RELEASE_DATE%/$TODAY/g" "$METAINFO_FILE"flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream "$METAINFO_FILE"+ env:+ STEPS_PROCESS_VERSION_OUTPUTS_VERSION: ${{ steps.process_version.outputs.version }}- name: Set up environmentuses: ./.github/actions/setup- name: Build Electron for Macdiff --git a/.github/workflows/electron-pr.yml b/.github/workflows/electron-pr.ymlindex 16ea6bc5d1..611fe8f870 100644--- a/.github/workflows/electron-pr.yml+++ b/.github/workflows/electron-pr.yml@@ -35,6 +35,8 @@ jobs:runs-on: ${{ matrix.os }}steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- if: ${{ startsWith(matrix.os, 'windows') }}run: pip.exe install setuptools- if: ${{ ! startsWith(matrix.os, 'windows') }}diff --git a/.github/workflows/i18n-string-extract-master.yml b/.github/workflows/i18n-string-extract-master.ymlindex 60c61771b1..c727ca9d3d 100644--- a/.github/workflows/i18n-string-extract-master.yml+++ b/.github/workflows/i18n-string-extract-master.yml@@ -15,6 +15,7 @@ jobs:uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:path: actual+ persist-credentials: false- name: Set up environmentuses: ./actual/.github/actions/setupwith:@@ -59,6 +60,8 @@ jobs:ssh-key: ${{ secrets.STRING_IMPORT_DEPLOY_KEY }}repository: actualbudget/translationspath: translations+ # Need to be able to push back extracted strings+ persist-credentials: true- name: Generate i18n stringsworking-directory: actualrun: |diff --git a/.github/workflows/issues-feature-implemented.yml b/.github/workflows/issues-feature-implemented.ymlindex 423822e92d..2b73ca6c9f 100644--- a/.github/workflows/issues-feature-implemented.yml+++ b/.github/workflows/issues-feature-implemented.yml@@ -25,6 +25,8 @@ jobs:steps:# This is not a security concern because we have approved & merged the PR- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0with:node-version: 22diff --git a/.github/workflows/netlify-release.yml b/.github/workflows/netlify-release.ymlindex 8f46bce7d3..1cc227b071 100644--- a/.github/workflows/netlify-release.yml+++ b/.github/workflows/netlify-release.yml@@ -22,6 +22,8 @@ jobs:steps:- name: Repository Checkoutuses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupdiff --git a/.github/workflows/publish-flathub.yml b/.github/workflows/publish-flathub.ymlindex 721c909230..720592f6ab 100644--- a/.github/workflows/publish-flathub.yml+++ b/.github/workflows/publish-flathub.yml@@ -54,8 +54,9 @@ jobs:- name: Verify release assets existenv:GH_TOKEN: ${{ github.token }}+ STEPS_RESOLVE_VERSION_OUTPUTS_TAG: ${{ steps.resolve_version.outputs.tag }}run: |- TAG="${{ steps.resolve_version.outputs.tag }}"+ TAG="${STEPS_RESOLVE_VERSION_OUTPUTS_TAG}"echo "Checking release assets for tag $TAG..."ASSETS=$(gh api "repos/${{ github.repository }}/releases/tags/$TAG" --jq '.assets[].name')@@ -77,7 +78,7 @@ jobs:- name: Calculate AppImage SHA256 (streamed)run: |- VERSION="${{ steps.resolve_version.outputs.version }}"+ VERSION="${STEPS_RESOLVE_VERSION_OUTPUTS_VERSION}"BASE_URL="https://github.com/${{ github.repository }}/releases/download/v${VERSION}"echo "Streaming x86_64 AppImage to compute SHA256..."@@ -90,27 +91,32 @@ jobs:echo "APPIMAGE_X64_SHA256=$APPIMAGE_X64_SHA256" >> "$GITHUB_ENV"echo "APPIMAGE_ARM64_SHA256=$APPIMAGE_ARM64_SHA256" >> "$GITHUB_ENV"+ env:+ STEPS_RESOLVE_VERSION_OUTPUTS_VERSION: ${{ steps.resolve_version.outputs.version }}- name: Checkout Flathub repouses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:repository: flathub/com.actualbudget.actualtoken: ${{ secrets.FLATHUB_GITHUB_TOKEN }}+ persist-credentials: false- name: Update manifest with new versionrun: |- VERSION="${{ steps.resolve_version.outputs.version }}"+ VERSION="${STEPS_RESOLVE_VERSION_OUTPUTS_VERSION}"# Replace x86_64 entry- sed -i "/x86_64.AppImage/{n;s|sha256:.*|sha256: ${{ env.APPIMAGE_X64_SHA256 }}|}" com.actualbudget.actual.yml+ sed -i "/x86_64.AppImage/{n;s|sha256:.*|sha256: ${APPIMAGE_X64_SHA256}|}" com.actualbudget.actual.ymlsed -i "/x86_64.AppImage/s|url:.*|url: https://github.com/actualbudget/actual/releases/download/v${VERSION}/Actual-linux-x86_64.AppImage|" com.actualbudget.actual.yml# Replace arm64 entry- sed -i "/arm64.AppImage/{n;s|sha256:.*|sha256: ${{ env.APPIMAGE_ARM64_SHA256 }}|}" com.actualbudget.actual.yml+ sed -i "/arm64.AppImage/{n;s|sha256:.*|sha256: ${APPIMAGE_ARM64_SHA256}|}" com.actualbudget.actual.ymlsed -i "/arm64.AppImage/s|url:.*|url: https://github.com/actualbudget/actual/releases/download/v${VERSION}/Actual-linux-arm64.AppImage|" com.actualbudget.actual.ymlecho "Updated manifest:"cat com.actualbudget.actual.yml+ env:+ STEPS_RESOLVE_VERSION_OUTPUTS_VERSION: ${{ steps.resolve_version.outputs.version }}- name: Create PR in Flathub repouses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1diff --git a/.github/workflows/publish-nightly-electron.yml b/.github/workflows/publish-nightly-electron.ymlindex 94e0513c1d..09f7d04bb8 100644--- a/.github/workflows/publish-nightly-electron.yml+++ b/.github/workflows/publish-nightly-electron.yml@@ -30,6 +30,8 @@ jobs:if: github.event.repository.fork == falsesteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- if: ${{ startsWith(matrix.os, 'windows') }}run: pip.exe install setuptoolsdiff --git a/.github/workflows/publish-nightly-npm-packages.yml b/.github/workflows/publish-nightly-npm-packages.ymlindex c4740d3bdb..72ecfd0f38 100644--- a/.github/workflows/publish-nightly-npm-packages.yml+++ b/.github/workflows/publish-nightly-npm-packages.yml@@ -13,6 +13,8 @@ jobs:if: github.event.repository.fork == falsesteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupdiff --git a/.github/workflows/publish-npm-packages.yml b/.github/workflows/publish-npm-packages.ymlindex c26c343fe0..d64ed694ee 100644--- a/.github/workflows/publish-npm-packages.yml+++ b/.github/workflows/publish-npm-packages.yml@@ -12,6 +12,8 @@ jobs:name: Build and pack npm packagessteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupdiff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.ymlindex f4497872ef..989235459b 100644--- a/.github/workflows/release-notes.yml+++ b/.github/workflows/release-notes.yml@@ -37,13 +37,15 @@ jobs:with:fetch-depth: 0token: ${{ secrets.ACTIONS_UPDATE_TOKEN || github.token }}+ # Need to be able to commit release notes after generation+ persist-credentials: true- name: Get changed filesif: steps.bot-check.outputs.skip != 'true'id: changed-filesrun: |- git fetch origin ${{ github.base_ref }}- CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD)+ git fetch origin ${GITHUB_BASE_REF}+ CHANGED_FILES=$(git diff --name-only origin/${GITHUB_BASE_REF}...HEAD)NON_DOCS_FILES=$(echo "$CHANGED_FILES" | grep -v -e "^packages/docs/" -e "^\.github/actions/docs-spelling/" || true)if [ -z "$NON_DOCS_FILES" ] && [ -n "$CHANGED_FILES" ]; thendiff --git a/.github/workflows/size-compare.yml b/.github/workflows/size-compare.ymlindex 30b76c4611..55e2db41ef 100644--- a/.github/workflows/size-compare.yml+++ b/.github/workflows/size-compare.yml@@ -38,6 +38,7 @@ jobs:uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:ref: ${{ github.base_ref }}+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setupwith:@@ -104,7 +105,7 @@ jobs:- name: Report build failureif: steps.wait-for-web-build.outputs.conclusion == 'failure' || steps.wait-for-api-build.outputs.conclusion == 'failure' || steps.wait-for-cli-build.outputs.conclusion == 'failure' || steps.wait-for-crdt-build.outputs.conclusion == 'failure'run: |- echo "Build failed on PR branch or ${{github.base_ref}}"+ echo "Build failed on PR branch or ${GITHUB_BASE_REF}"exit 1- name: Download web build artifact from ${{github.base_ref}}diff --git a/.github/workflows/vrt-update-apply.yml b/.github/workflows/vrt-update-apply.ymlindex 73974d687e..2cddd69ab1 100644--- a/.github/workflows/vrt-update-apply.yml+++ b/.github/workflows/vrt-update-apply.yml@@ -107,7 +107,7 @@ jobs:fi# Commit- git commit -m "Update VRT screenshots" -m "Auto-generated by VRT workflow" -m "PR: #${{ steps.metadata.outputs.pr_number }}"+ git commit -m "Update VRT screenshots" -m "Auto-generated by VRT workflow" -m "PR: #${STEPS_METADATA_OUTPUTS_PR_NUMBER}"echo "applied=true" >> "$GITHUB_OUTPUT"else@@ -116,6 +116,8 @@ jobs:echo "error=Patch conflicts with current branch state" >> "$GITHUB_OUTPUT"exit 1fi+ env:+ STEPS_METADATA_OUTPUTS_PR_NUMBER: ${{ steps.metadata.outputs.pr_number }}- name: Push changesif: steps.apply.outputs.applied == 'true'diff --git a/.github/workflows/vrt-update-generate.yml b/.github/workflows/vrt-update-generate.ymlindex f72f34bc78..836c0befc4 100644--- a/.github/workflows/vrt-update-generate.yml+++ b/.github/workflows/vrt-update-generate.yml@@ -63,6 +63,7 @@ jobs:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:ref: ${{ steps.pr.outputs.head_sha }}+ persist-credentials: false- name: Set up environmentuses: ./.github/actions/setup@@ -129,8 +130,11 @@ jobs:run: |mkdir -p pr-metadataecho "${{ github.event.issue.number }}" > pr-metadata/pr-number.txt- echo "${{ steps.pr.outputs.head_ref }}" > pr-metadata/head-ref.txt- echo "${{ steps.pr.outputs.head_repo }}" > pr-metadata/head-repo.txt+ echo "${STEPS_PR_OUTPUTS_HEAD_REF}" > pr-metadata/head-ref.txt+ echo "${STEPS_PR_OUTPUTS_HEAD_REPO}" > pr-metadata/head-repo.txt+ env:+ STEPS_PR_OUTPUTS_HEAD_REF: ${{ steps.pr.outputs.head_ref }}+ STEPS_PR_OUTPUTS_HEAD_REPO: ${{ steps.pr.outputs.head_repo }}- name: Upload PR metadataif: steps.create-patch.outputs.has_changes == 'true'diff --git a/upcoming-release-notes/7533.md b/upcoming-release-notes/7533.mdnew file mode 100644index 0000000000..4989e5a00e--- /dev/null+++ b/upcoming-release-notes/7533.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [jfdoming]+---++Run `zizmor` auto-fix tool