Answer: When Copilot runs on GitHub Actions, you can use a Copilot setup steps file to deterministically install tools or dependencies before Copilot starts work by adding steps to the copilot-setup-steps job. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/preinstall-tools-dependencies Revision: 3 Digest: sha256:624bad13a6813355 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:26:46Z Last changed: 2026-11-19T13:00:10Z (Setup Node.js action version: — → actions/setup-node@v7) Last verified: 2026-11-20T13:06:30Z Next check: 2026-11-21T13:06:30Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Method | Copilot setup steps file | [1] | 2026-11-20 Job name | copilot-setup-steps | [1] | 2026-11-20 Node.js version | 20 | [1] | 2026-11-20 Checkout action version | actions/checkout@v6 | [1] | 2026-11-20 Setup Node.js action version | actions/setup-node@v7 | [1] | 2026-11-20 Sources: [1] GitHub. "Configure the development environment for agents on GitHub Actions - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-cloud-agent/customize-the-agent-environment Role: primary. Accessed: 2026-11-20T13:06:30Z Quote: "you can use a Copilot setup steps file to deterministically install tools or dependencies before Copilot starts work" (Supports: Method) Quote: "add steps to the copilot-setup-steps job" (Supports: Job name) Quote: "node-version: "20"" (Supports: Node.js version) Quote: "uses: actions/checkout@v6" (Supports: Checkout action version) Quote: "uses: actions/setup-node@v7" (Supports: Setup Node.js action version) Snapshot SHA-256: 7a59ecec9c236918565038edd03b1d5df22b43dc52eee179ea9b0498154f4fa0 (captured 2026-11-18T13:01:19Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:01:20Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:06:30Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:06:30Z Last attempt: 2026-11-20T13:06:30Z Notes and limitations: Extracted automatically from a single official source (section "Preinstalling tools or dependencies in Copilot's environment"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/prepare-to-govern-agents How do I prepare to govern agents in GitHub Copilot for my enterprise? https://latestn.com/tool/github-copilot/agents-and-automation/process-multiple-files How do I process multiple files with GitHub Copilot CLI in a script? https://latestn.com/tool/github-copilot/agents-and-automation/provide-visual-context How do I provide visual context to GitHub Copilot when researching or planning code changes? https://latestn.com/tool/github-copilot/agents-and-automation/post-tool-use-hook-output What output can a GitHub Copilot post-tool use hook return to modify tool results? https://latestn.com/tool/github-copilot/agents-and-automation/pre-tool-use-hook How do I intercept or modify tool calls before they run using hooks in the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/agents-and-automation/pre-tool-use-modify-arguments How do I modify tool arguments in the GitHub Copilot pre-tool use hook? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:00:10Z | changed | Setup Node.js action version: — → actions/setup-node@v7 | [1] 2026-11-19T13:00:10Z | changed | Checkout action version: — → actions/checkout@v6 | [1] 2026-11-19T13:00:10Z | changed | Node.js version: — → 20 | [1] 2026-11-19T13:00:10Z | changed | Job name: — → copilot-setup-steps | [1] 2026-11-19T13:00:10Z | changed | Method: — → Copilot setup steps file | [1] 2026-11-19T13:00:10Z | changed | example step: npm ci → — | [1] 2026-11-19T13:00:10Z | changed | job name: copilot-setup-steps → — | [1] 2026-11-19T13:00:10Z | changed | method: Copilot setup steps file → — | [1] 2026-11-17T13:23:51Z | changed | example step: — → npm ci | [1] 2026-11-17T13:23:51Z | changed | job name: — → copilot-setup-steps | [1] 2026-11-17T13:23:51Z | changed | method: — → Copilot setup steps file | [1] 2026-11-17T13:23:51Z | changed | Example install command: npm ci → — | [1] 2026-11-17T13:23:51Z | changed | Example Node.js version: 20 → — | [1] 2026-11-17T13:23:51Z | changed | Job name: copilot-setup-steps → — | [1] 2026-11-17T13:23:51Z | changed | Method: Copilot setup steps file → — | [1] 2026-11-13T03:26:46Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/preinstall-tools-dependencies/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/preinstall-tools-dependencies POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/preinstall-tools-dependencies with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/preinstall-tools-dependencies?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I preinstall tools or dependencies in GitHub Copilot's environment? Revision 3, last verified 2026-11-20T13:06:30Z. https://latestn.com/tool/github-copilot/agents-and-automation/preinstall-tools-dependencies (accessed 2026-11-21T09:57:09Z). @misc{LatestN_tool_github_copilot_agents_and_automation_preinstall_tools_dependencies_r3, title = {How do I preinstall tools or dependencies in GitHub Copilot's environment?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/preinstall-tools-dependencies}}, note = {Revision 3; digest sha256:624bad13a6813355; last verified 2026-11-20T13:06:30Z; accessed 2026-11-21T09:57:09Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/agents-and-automation/preinstall-tools-dependencies