npx skills add ...
npx skills add google-labs-code/jules-skills --skill local-action-verification
npx skills add google-labs-code/jules-skills --skill local-action-verification
Set up a repository for local GitHub Actions verification using act, so Jules can validate CI before pushing
You are setting up a repository so that Jules (or any agent) can run GitHub Actions workflows locally using act to verify code changes pass CI before pushing.
Two scripts and an agents.md section that enable local CI verification:
act if missing (platform-aware, sudo fallback)act in the background with log polling to avoid agent timeoutsCopy the scripts/ directory from this skill into the target repository at scripts/act/:
Make sure the scripts are executable:
Append the following section to the repository's AGENTS.md file (create it if it doesn't exist). This is how Jules discovers the local verification capability:
With matrix: bash scripts/act/run-act.sh "push -j <JOB_ID> --matrix <KEY>:<VALUE>"
3. If the run fails, read the log output, fix the code, and re-run
4. After verification, clean up:
ACT_TIMEOUT=900 bash scripts/act/run-act.sh "..." (default: 600s)ACT_POLL=15 bash scripts/act/run-act.sh "..." (default: 10s)-P ubuntu-latest=node:20-bookworm in the arguments for faster pullsact_output.log .secrets