Skip to content

docs: document default mounted volumes for AWF sandbox#9286

Merged
Mossaka merged 4 commits intomainfrom
copilot/document-default-mounted-volumes
Jan 8, 2026
Merged

docs: document default mounted volumes for AWF sandbox#9286
Mossaka merged 4 commits intomainfrom
copilot/document-default-mounted-volumes

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 7, 2026

  • Explore codebase to understand the default mounted volumes for AWF container
  • Create initial plan
  • Add documentation for default mounted volumes in docs/src/content/docs/reference/sandbox.md
  • Run code review
  • Run CodeQL security check (N/A for docs-only changes)
  • Address reviewer feedback: consolidate /usr/bin entries

Summary

Added a new "Default Mounted Volumes" section to the sandbox reference documentation that documents the default mounts automatically configured when using AWF:

Host Path Container Path Mode Purpose
/tmp /tmp rw Temporary files and cache
${GITHUB_WORKSPACE} ${GITHUB_WORKSPACE} rw Repository workspace directory
/usr/bin/{date,gh,yq} /usr/bin/{date,gh,yq} ro System utilities (date, GitHub CLI, yq)
/usr/local/bin/copilot /usr/local/bin/copilot ro Copilot CLI binary
/home/runner/.copilot /home/runner/.copilot rw Copilot configuration and state

The documentation clarifies that custom mounts specified via sandbox.agent.mounts are added alongside these defaults.

Original prompt

Document what are the default mounted volumes for agent container using awf

Custom agent used: technical-doc-writer
AI technical documentation writer for GitHub Actions library using Astro Starlight and GitHub Docs voice


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Document default mounted volumes for agent container using awf docs: document default mounted volumes for AWF sandbox Jan 8, 2026
Copilot AI requested a review from Mossaka January 8, 2026 00:05
Comment on lines +111 to +113
| `/usr/bin/date` | `/usr/bin/date` | `ro` | Date utility |
| `/usr/bin/gh` | `/usr/bin/gh` | `ro` | GitHub CLI binary |
| `/usr/bin/yq` | `/usr/bin/yq` | `ro` | YAML processor |
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot can shortten it to /usr/bin

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in d0960b0. Consolidated the three /usr/bin entries into a single row: /usr/bin/{date,gh,yq}.

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI requested a review from Mossaka January 8, 2026 00:15
@Mossaka Mossaka marked this pull request as ready for review January 8, 2026 00:24
@Mossaka Mossaka merged commit 20c103c into main Jan 8, 2026
@Mossaka Mossaka deleted the copilot/document-default-mounted-volumes branch January 8, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants