---
title: "Discussion on \"How to Use the GitHub CLI with GitHub Actions\" | Hashnode"
description: "Discussion on \"How to Use the GitHub CLI with GitHub Actions\". GitHub CLI is a command-line tool that lets you manage GitHub's web features right in your local terminal. You can manage repositories, issues, pull requests, and automation workflows without needing"
url: "https://hashnode.com/posts/how-to-use-the-github-cli-with-github-actions/6b04590fe116d564954b31ad"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Use the GitHub CLI with GitHub Actions](https://freecodecamp.org/news/how-to-use-the-github-cli-with-github-actions?utm_source=hashnode&utm_medium=feed)

GitHub CLI is a command-line tool that lets you manage GitHub's web features right in your local terminal. You can manage repositories, issues, pull requests, and automation workflows without needing

Nov 23 · 10 min read · freecodecamp.org  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#github-actions](https://hashnode.com/tag/github-actions)
-   [#cli](https://hashnode.com/tag/cli)
-   [#version-control](https://hashnode.com/tag/version-control)

## Written by

[Rajdeep Singh](https://hashnode.com/@officialrajdeepsingh)

@officialrajdeepsingh · India

  
[View profile](https://hashnode.com/@officialrajdeepsingh)

Build, Test and Deploy

JavaScript || Reactjs || Nextjs || Rust || Biotechnology || Bioinformatic || Front-end Developer || Author || https://ko-fi.com/officialrajdeepsingh

## Responses 1

Markdown supported · ⌘↵ to post

[Olivia](https://hashnode.com/@oliviacreates)

[Nov 24](https://hashnode.com/posts/how-to-use-the-github-cli-with-github-actions/6b04590fe116d564954b31ad/comment/6b04edecc3dc0bf7ea59ed87)

The framing that sold me is using gh inside workflows for the small stuff — filing an issue when a deploy fails, or cutting a release after a build passes — instead of pulling in a third-party action for each one. The dacbd/create-issue-action example is a good caution: one unmaintained action is a quiet supply-chain risk. I'd still reach for a third-party action for a Slack or AWS integration, where writing it by hand costs more than the dependency.
