github-auth

Automates GitHub authentication setup for repositories, pull requests, issues, and CI workflows.

Updated Sep 28, 2021
One-click install
npx skills add https://github.com/XyHalcyon/config-files --skill github-auth-xyhalcyon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/XyHalcyon/config-files/tree/main/hermes/skills/github/github-auth
Command: npx skills add https://github.com/XyHalcyon/config-files --skill github-auth-xyhalcyon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, curl, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the setup of GitHub authentication, ensuring secure access to repositories, pull requests, issues, and CI workflows with either HTTPS tokens or SSH keys.

Core Features & Use Cases

  • Git and gh CLI Setup: Offers two authentication methods, supporting both git and the gh CLI for GitHub API access.
  • Authentication Methods: Covers HTTPS tokens and SSH key authentication for git and the gh CLI.
  • Use Case: Whether you're a developer needing to push code or a project manager triggering GitHub Actions, this Skill streamlines the authentication process.

Quick Start

Set up GitHub authentication using the github-auth skill by running the command: skill github-auth setup.

Frequently Asked Questions about github-auth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure GitHub authentication for git and gh CLI?

You configure GitHub authentication by applying HTTPS personal access tokens or SSH keys to securely access repositories, pull requests, and issues via git and the gh CLI.

What is the best way to automate GitHub authentication setup for CI workflows?

Automating GitHub authentication setup involves providing personal access tokens to git, gh, or curl, granting secure API access to trigger CI workflows and manage repository operations.

Do I need gh CLI installed to set up GitHub authentication?

You do not strictly need gh CLI installed; the setup supports authentication via git and curl with personal access tokens, though gh CLI is recommended for seamless GitHub API access.

Can I use SSH keys instead of HTTPS tokens for GitHub repository access?

Yes, you can use SSH keys instead of HTTPS tokens, as the setup explicitly supports both authentication methods to ensure secure access for git operations and gh CLI integrations.

Why does my GitHub authentication fail when using curl for API requests?

GitHub authentication with curl fails if appropriate GitHub permissions and valid personal access tokens are not provided, which are required to securely handle API requests and repository access.