fix(ci): repair build-desktop workflow parse failure + node20 action bumps (#4488)

This commit is contained in:
Steven Enamakel
2026-07-03 22:02:11 -07:00
committed by GitHub
parent 27b00b539e
commit 4f5e66afa6
5 changed files with 23 additions and 7 deletions
+2 -3
View File
@@ -126,12 +126,11 @@ jobs:
artifact_suffix: windows
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Consumed by scripts/ci-cancel-aware.sh's cancellation watchdog.
GH_TOKEN: ${{ github.token }}
# Keep in sync with DEFAULT_TELEGRAM_BOT_USERNAME_* in channels/controllers/ops.rs
OPENHUMAN_TELEGRAM_BOT_USERNAME: ${{ inputs.telegram_bot_username }}
VITE_TELEGRAM_BOT_USERNAME: ${{ inputs.telegram_bot_username }}
env:
# Consumed by scripts/ci-cancel-aware.sh's cancellation watchdog.
GH_TOKEN: ${{ github.token }}
steps:
- name: Checkout build ref
uses: actions/checkout@v5
+8 -1
View File
@@ -65,12 +65,16 @@ jobs:
- name: Detect changed paths
id: filter
uses: dorny/paths-filter@v3
uses: dorny/paths-filter@v4
with:
list-files: shell
filters: |
frontend:
- '.github/workflows/pr-ci.yml'
# The changed-files runner itself must trigger the lane that
# runs it (it is also in frontend-full → full-suite mode).
- 'scripts/ci/vitest-changed-coverage.sh'
- 'scripts/ci-cancel-aware.sh'
- 'package.json'
- 'pnpm-lock.yaml'
- 'app/package.json'
@@ -112,6 +116,9 @@ jobs:
- 'package.json'
rust-core:
- '.github/workflows/pr-ci.yml'
# The changed-files runner itself must trigger the lane that
# runs it (it is also in rust-core-full → full-suite mode).
- 'scripts/ci/rust-coverage-changed.sh'
- 'Cargo.toml'
- 'Cargo.lock'
- 'rust-toolchain.toml'
+1 -1
View File
@@ -90,7 +90,7 @@ jobs:
# Use the same GitHub App the release workflows push with.
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.XGITHUB_APP_ID }}
private-key: ${{ secrets.XGITHUB_APP_PRIVATE_KEY }}
+6 -1
View File
@@ -119,10 +119,15 @@ jobs:
exit 1
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.XGITHUB_APP_ID }}
private-key: ${{ secrets.XGITHUB_APP_PRIVATE_KEY }}
# Least privilege: this job only pushes the version-bump commit and
# tag (and, on production, the back-merge to main) — contents: write
# is all it needs. Branch-protection bypass comes from the App's
# identity in the ruleset bypass list, not from token scopes.
permission-contents: write
- name: Checkout release
uses: actions/checkout@v5
with:
+6 -1
View File
@@ -94,10 +94,15 @@ jobs:
exit 1
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.XGITHUB_APP_ID }}
private-key: ${{ secrets.XGITHUB_APP_PRIVATE_KEY }}
# Least privilege: this job only pushes the version-bump commit and
# tag (and, on production, the back-merge to main) — contents: write
# is all it needs. Branch-protection bypass comes from the App's
# identity in the ruleset bypass list, not from token scopes.
permission-contents: write
- name: Checkout release
uses: actions/checkout@v5
with: