[{"data":1,"prerenderedAt":114},["ShallowReactive",2],{"blog-github-copilot-cli-now-uses-built-in-githubtoken-in-github-actions":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"tags":11,"cover":16,"body":17,"_type":108,"_id":109,"_source":110,"_file":111,"_stem":112,"_extension":113},"/blog/github-copilot-cli-now-uses-built-in-githubtoken-in-github-actions","blog",false,"","GitHub Copilot CLI Now Uses Built-in GITHUB_TOKEN in GitHub Actions","Simplify your GitHub Actions workflows by using GitHub Copilot CLI without the need for a personal access token.","2026-07-03",[12,13,14,15],"github","copilot","devops","githubactions",true,{"type":18,"children":19,"toc":102},"root",[20,29,44,50,86,92,97],{"type":21,"tag":22,"props":23,"children":25},"element","h2",{"id":24},"streamlining-authentication-in-github-actions",[26],{"type":27,"value":28},"text","Streamlining Authentication in GitHub Actions",{"type":21,"tag":30,"props":31,"children":32},"p",{},[33,35,42],{"type":27,"value":34},"GitHub has enhanced the GitHub Copilot CLI experience in GitHub Actions by enabling it to use the built-in ",{"type":21,"tag":36,"props":37,"children":39},"code",{"className":38},[],[40],{"type":27,"value":41},"GITHUB_TOKEN",{"type":27,"value":43},". This means developers no longer need to create and store a personal access token (PAT) for running Copilot CLI commands within workflows.",{"type":21,"tag":22,"props":45,"children":47},{"id":46},"benefits-of-using-github_token",[48],{"type":27,"value":49},"Benefits of Using GITHUB_TOKEN",{"type":21,"tag":51,"props":52,"children":53},"ul",{},[54,66,76],{"type":21,"tag":55,"props":56,"children":57},"li",{},[58,64],{"type":21,"tag":59,"props":60,"children":61},"strong",{},[62],{"type":27,"value":63},"Simplified Configuration:",{"type":27,"value":65}," Remove the steps to generate and manage a separate PAT.",{"type":21,"tag":55,"props":67,"children":68},{},[69,74],{"type":21,"tag":59,"props":70,"children":71},{},[72],{"type":27,"value":73},"Improved Security:",{"type":27,"value":75}," Minimizes exposure by using a token that automatically scopes to the repository and is short-lived.",{"type":21,"tag":55,"props":77,"children":78},{},[79,84],{"type":21,"tag":59,"props":80,"children":81},{},[82],{"type":27,"value":83},"Seamless Integration:",{"type":27,"value":85}," Works natively with GitHub Actions, making Copilot CLI automation smoother.",{"type":21,"tag":22,"props":87,"children":89},{"id":88},"what-this-means-for-your-workflow",[90],{"type":27,"value":91},"What This Means for Your Workflow",{"type":21,"tag":30,"props":93,"children":94},{},[95],{"type":27,"value":96},"Automating tasks with Copilot CLI in your CI/CD pipelines becomes more straightforward and secure. This improvement helps reduce administrative overhead and potential risks related to token management.",{"type":21,"tag":30,"props":98,"children":99},{},[100],{"type":27,"value":101},"Stay informed about GitHub updates to maintain efficient and secure developer workflows.",{"title":7,"searchDepth":103,"depth":103,"links":104},2,[105,106,107],{"id":24,"depth":103,"text":28},{"id":46,"depth":103,"text":49},{"id":88,"depth":103,"text":91},"markdown","content:blog:github-copilot-cli-now-uses-built-in-githubtoken-in-github-actions.md","content","blog/github-copilot-cli-now-uses-built-in-githubtoken-in-github-actions.md","blog/github-copilot-cli-now-uses-built-in-githubtoken-in-github-actions","md",1784013519192]