mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-01 06:12:31 -08:00
fix(ci): expand bot git identity vars and format altstore source with oxfmt
This commit is contained in:
3 files changed
+7
-10
No files matched your search
@@ -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 }}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in new issue
Block a user