LearnNewsExamplesServices
Frontmatter
id7381
titleCreate a Robust GitHub CLI Setup and Verification Script
stateClosed
labels
enhancementhelp wantedgood first issuehacktoberfestai
assigneesLemonDrop847
createdAtOct 5, 2025, 5:57 PM
updatedAtOct 23, 2025, 12:51 AM
githubUrlhttps://github.com/neomjs/neo/issues/7381
authortobiu
commentsCount3
parentIssue7364
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 13, 2025, 11:15 PM

Create a Robust GitHub CLI Setup and Verification Script

Closed v11.0.0 enhancementhelp wantedgood first issuehacktoberfestai
tobiu
tobiu commented on Oct 5, 2025, 5:57 PM

To ensure all contributors have a consistent and functional environment for using our gh-based workflows, we need a setup script. This script will verify that the GitHub CLI is installed, authenticated, and up-to-date. This task is based on feedback from an external review which highlighted potential gaps in our contributor setup process.

Acceptance Criteria

  1. A new build script is created (e.g., buildScripts/ai/verifyGhSetup.mjs).
  2. The script must detect the user's OS (macOS, Linux, Windows).
  3. It must check if gh is installed and provide OS-specific installation instructions if it is not (including for Windows).
  4. It must run gh auth status to verify the user is logged in, and prompt them to run gh auth login if they are not.
  5. It must check the gh --version against a minimum required version and instruct the user to upgrade if necessary.
  6. The script should be added to package.json so it can be run easily (e.g., npm run ai:verify-gh-setup).
tobiu added the enhancement label on Oct 5, 2025, 5:57 PM
tobiu added the help wanted label on Oct 5, 2025, 5:57 PM
tobiu added the good first issue label on Oct 5, 2025, 5:57 PM
tobiu added the hacktoberfest label on Oct 5, 2025, 5:57 PM
tobiu added the ai label on Oct 5, 2025, 5:57 PM
tobiu added parent issue #7364 on Oct 5, 2025, 5:57 PM
LemonDrop847
LemonDrop847 Oct 5, 2025, 6:09 PM

would like to try this

tobiu assigned to @LemonDrop847 on Oct 5, 2025, 6:09 PM
tobiu
tobiu Oct 5, 2025, 6:09 PM

thx! assigned.

LemonDrop847 cross-referenced by PR #7382 on Oct 5, 2025, 6:34 PM
tobiu
tobiu Oct 13, 2025, 11:15 PM

closing the ticket as resolved.

tobiu closed this issue on Oct 13, 2025, 11:15 PM