Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Use GITHUB_TOKEN for authentication in workflows - GitHub Docs

Teaches how to use the automatic GITHUB_TOKEN provided by GitHub Actions to authenticate requests to the GitHub API within a workflow.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Use GITHUB_TOKEN for authentication in workflows - GitHub Docs

Teaches how to use the automatic GITHUB_TOKEN provided by GitHub Actions to authenticate requests to the GitHub API within a workflow.

When To Use

Use when you need to perform GitHub API operations or interact with the repository from within a GitHub Actions workflow without managing manual personal access tokens.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-authenticate-with-github-token-use-for-authentication-in-workflo-workflow-guide.mdA tutorial demonstrating how to use the GITHUB_TOKEN to authenticate actions within a GitHub workflow and how to modify its permissions.Questions about a tutorial demonstrating how to use the GITHUBTOKEN to authenticate actions within a GitHub workflow and how to modif...
examples/actions-authenticate-with-github-token-use-for-authentication-in-workflo.textA GitHub Actions workflow YAML example demonstrating how to use the GITHUB_TOKEN to create a new issue via the GitHub CLI.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML example demonstrating how to use the GITHUBTOKEN to create a new issue via the GitHub...
examples/actions-authenticate-with-github-token-use-for-authentication-in-workflo-2.textA GitHub Actions workflow YAML example demonstrating how to use the GITHUB_TOKEN to authenticate and create an issue via the REST API.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML example demonstrating how to use the GITHUBTOKEN to authenticate and create an issue v...

What This Skill Covers

    • GitHub Actions / - Tutorials / - Authenticate with GITHUBTOKEN
  • Main sections: In this article, Using the GITHUBTOKEN in a workflow, Example 1: passing the GITHUBTOKEN as an input, Modifying the permissions for the GITHUBTOKEN, Granting additional permissions.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://docs.github.com/en/actions/tutorials/authenticate-with-github_token