Skip to content

Comments

fix: add sudo to remaining gh-cli apt setup commands#47

Merged
skylenet merged 3 commits intomasterfrom
update-to-sudo
Feb 19, 2026
Merged

fix: add sudo to remaining gh-cli apt setup commands#47
skylenet merged 3 commits intomasterfrom
update-to-sudo

Conversation

@parithosh
Copy link
Member

Summary

  • Adds sudo to mkdir, tee, and chmod commands in the gh-cli apt keyring setup step
  • These commands write to /etc/apt/keyrings which requires elevated privileges on self-hosted runners

Test plan

  • Verify self-hosted runner workflow completes gh-cli installation without permission errors

🤖 Generated with Claude Code

parithosh and others added 3 commits February 19, 2026 14:17
The mkdir, tee, and chmod commands for setting up the GitHub CLI apt
keyring need sudo since they write to /etc/apt/keyrings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@skylenet skylenet merged commit 09050fc into master Feb 19, 2026
5 checks passed
@skylenet skylenet deleted the update-to-sudo branch February 19, 2026 13:44
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