QuestionQ25

Secure and optimize automation

When should the GITHUB_TOKEN be used in a workflow?

  • A when you want to make authenticated calls to the GitHub API
  • B when you want to connect to the runner via SSH
  • C when you want to access repository-level secrets
  • D when you want to call an action from the marketplace
Explanation

GITHUB_TOKEN is the built-in GitHub Actions credential for authenticating workflow operations, including authenticated calls to the GitHub API. Its access is limited by the permissions configured for the workflow or job.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!