<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plarail_hangout</author_name>
  <author_url>https://blog.hatena.ne.jp/plarail_hangout/</author_url>
  <blog_title>Engineering Tech Dojo</blog_title>
  <blog_url>https://tech.fun-toy-life.com/</blog_url>
  <categories>
  </categories>
  <description>GitHub認証トークン完全ガイド：PAT取得からGITHUB_TOKEN・GH_TOKENの使い分けまで はじめに GitHubで自動化やCLIツールを使おうとしたとき、トークンまわりで詰まることがあります。 PATを作ったのにghコマンドで使えない GITHUB_TOKENとGH_TOKENどちらを設定すればいいかわからない GitHub Actionsで認証エラーが出る この記事ではPATの取得からGITHUB_TOKEN・GH_TOKENの違いと設定方法、それぞれの認証確認方法までをまとめて解説します。 PATとは PAT（Personal Access Token）はGitHubのA…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.fun-toy-life.com%2Fentry%2F2026%2F05%2F14%2F194850&quot; title=&quot;GitHub認証トークン完全ガイド：PAT取得からGITHUB_TOKEN・GH_TOKENの使い分けまで - Engineering Tech Dojo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-14 19:48:50</published>
  <title>GitHub認証トークン完全ガイド：PAT取得からGITHUB_TOKEN・GH_TOKENの使い分けまで</title>
  <type>rich</type>
  <url>https://tech.fun-toy-life.com/entry/2026/05/14/194850</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
