From 06895c0b4cbaff1488e40899c66211cefdfb6709 Mon Sep 17 00:00:00 2001 From: Erwan Leboucher Date: Fri, 31 Jul 2026 08:47:32 +0200 Subject: [PATCH] fix(ci): expand bot git identity vars and format altstore source with oxfmt --- .github/workflows/flake-lock-fix.yml | 4 ++-- .github/workflows/tauri-build.yml | 5 +++-- altstore-source-nightly.json | 8 ++------ 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/flake-lock-fix.yml b/.github/workflows/flake-lock-fix.yml index e68772746..3ce91131a 100644 --- a/.github/workflows/flake-lock-fix.yml +++ b/.github/workflows/flake-lock-fix.yml @@ -49,8 +49,8 @@ jobs: - name: Configure bot git identity run: | - git config --global user.name '${STEPS_APP_TOKEN_OUTPUTS_APP_SLUG}[bot]' - git config --global user.email '${STEPS_GET_USER_ID_OUTPUTS_USER_ID}+${STEPS_APP_TOKEN_OUTPUTS_APP_SLUG}[bot]@users.noreply.github.com' + git config --global user.name "${STEPS_APP_TOKEN_OUTPUTS_APP_SLUG}[bot]" + git config --global user.email "${STEPS_GET_USER_ID_OUTPUTS_USER_ID}+${STEPS_APP_TOKEN_OUTPUTS_APP_SLUG}[bot]@users.noreply.github.com" gh auth setup-git env: GH_TOKEN: ${{ steps.app-token.outputs.token }} diff --git a/.github/workflows/tauri-build.yml b/.github/workflows/tauri-build.yml index a8421502c..3d976d462 100644 --- a/.github/workflows/tauri-build.yml +++ b/.github/workflows/tauri-build.yml @@ -519,8 +519,8 @@ jobs: - name: Configure bot git identity run: | - git config --global user.name '${STEPS_APP_TOKEN_OUTPUTS_APP_SLUG}[bot]' - git config --global user.email '${STEPS_GET_USER_ID_OUTPUTS_USER_ID}+${STEPS_APP_TOKEN_OUTPUTS_APP_SLUG}[bot]@users.noreply.github.com' + git config --global user.name "${STEPS_APP_TOKEN_OUTPUTS_APP_SLUG}[bot]" + git config --global user.email "${STEPS_GET_USER_ID_OUTPUTS_USER_ID}+${STEPS_APP_TOKEN_OUTPUTS_APP_SLUG}[bot]@users.noreply.github.com" gh auth setup-git env: GH_TOKEN: ${{ steps.app-token.outputs.token }} @@ -557,6 +557,7 @@ jobs: git worktree add --detach "$WT" origin/dev node .github/scripts/update-altstore-source.mjs \ "$WT/$SOURCE_FILE" "${ALTSTORE_VERSION:-$VERSION}" "${ALTSTORE_VERSION_BUILD:-$VERSION}" "${STEPS_IPA_OUTPUTS_SIZE}" "$DOWNLOAD_URL" "$DATE" "Sable $VERSION" + pnpm oxfmt "$WT/$SOURCE_FILE" git -C "$WT" add "$SOURCE_FILE" if git -C "$WT" diff --cached --quiet; then echo "$SOURCE_FILE already up to date on dev" diff --git a/altstore-source-nightly.json b/altstore-source-nightly.json index 514aa9471..9f6ade114 100644 --- a/altstore-source-nightly.json +++ b/altstore-source-nightly.json @@ -6,9 +6,7 @@ "iconURL": "https://raw.githubusercontent.com/SableClient/Sable/dev/src-tauri/icons/icon.png", "website": "https://github.com/SableClient/Sable", "tintColor": "#5CA399", - "featuredApps": [ - "moe.sable.client" - ], + "featuredApps": ["moe.sable.client"], "apps": [ { "name": "Sable", @@ -31,9 +29,7 @@ } ], "appPermissions": { - "entitlements": [ - "aps-environment" - ], + "entitlements": ["aps-environment"], "privacy": { "NSCameraUsageDescription": "Sable needs camera access for video calls.", "NSMicrophoneUsageDescription": "Sable needs microphone access for voice and video calls."