Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

ci: fix Termux permissions - use root entrypoint to chown project dir

Zaid Bin Mushtaqe548187a219f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9b045d01..0fd1b69c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -88,17 +88,22 @@ jobs:
docker run --rm \
${{ matrix.qemu && '--platform linux/arm64' || '' }} \
--privileged \
+ --entrypoint /entrypoint_root.sh \
-v "${{ github.workspace }}:/home/builder/project" \
-e "HOME=/home/builder" \
termux/termux-docker:${{ matrix.arch }} \
bash -c "
set -e
- pkg update -y
- pkg install -y git nodejs-lts
- cd /home/builder/project
- npm ci
- npm run build
- npm test
+ chown -R system:system /home/builder/project
+ su - system -c '
+ set -e
+ pkg update -y
+ pkg install -y git nodejs-lts
+ cd /home/builder/project
+ npm ci
+ npm run build
+ npm test
+ '
"
publish: