ci(upstream-merge,issue-triage): fix heredoc quoting to prevent shell expansion; correct rust-cache workspace mapping to 'codex-rs -> target' for effective caching

This commit is contained in:
James Peter
2025-09-06 23:07:48 +10:00
parent 3df630f9ec
commit 06190bba9a
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
workspaces: |
codex-rs -> codex-rs/target
codex-rs -> target
save-if: true
- name: Configure Git author
+9 -9
View File
@@ -55,13 +55,13 @@ jobs:
with:
toolchain: 1.89.0
- name: Cache Rust build (cargo + target)
uses: Swatinem/rust-cache@v2
with:
# Our Rust workspace lives in codex-rs; cache its target dir
workspaces: |
codex-rs -> codex-rs/target
save-if: true
- name: Cache Rust build (cargo + target)
uses: Swatinem/rust-cache@v2
with:
# Our Rust workspace lives in codex-rs; cache its target dir
workspaces: |
codex-rs -> target
save-if: true
- name: Setup Node.js
uses: actions/setup-node@v4
@@ -132,7 +132,7 @@ jobs:
run: |
set -euo pipefail
SAFE_PATH="$PATH"; SAFE_HOME="$HOME"
PROMPT=$(cat << EOP
PROMPT=$(cat << 'EOP'
<task>
You are the maintainer bot. Perform an upstream merge using the repo policies from MERGE.md and prepare a PR.
Steps:
@@ -169,7 +169,7 @@ jobs:
GH_TOKEN="$GH_TOKEN" \
npm_config_cache="$SAFE_HOME/.npm" \
npx -y @just-every/code@latest \
-s danger-full-access -a never \
-s workspace-write -a never -c sandbox_workspace_write.allow_git_writes=true \
exec \
--cd "$GITHUB_WORKSPACE" \
--skip-git-repo-check \