-
Notifications
You must be signed in to change notification settings - Fork 251
Closed
Labels
Description
When executing gh aw compile Workflows on self-hosted GitHub Runners fails currently on the Install GitHub Copilot CLI task of the agent Job, if the Runners do not permit escalation to root user.
This is because the script at https://github.com/github/gh-aw/blob/main/actions/setup/sh/install_copilot_cli.sh blindly runs sudo commands without checking existing directory permissions or user, and copies binaries into root-owned directories such as /usr/local/bin.
Please change the GH AW workflow compilation to support execution on a self-hosted Runner that does not permit sudo commands e.g. Actions Runner Controller (ARC) with allowPrivilegeEscalation: false
Reactions are currently unavailable