From bcc3c2bbc6cc8b553a4b40613138371dc11f0934 Mon Sep 17 00:00:00 2001 From: Will Merfalen Date: Wed, 8 Dec 2021 17:39:28 -0700 Subject: [PATCH] add a few Github Actions entries to the cheat sheet --- gh/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gh/README.md b/gh/README.md index 117178f..734560e 100644 --- a/gh/README.md +++ b/gh/README.md @@ -20,6 +20,28 @@ Installation: - For linux Installation on specific distribution [linux](https://github.com/cli/cli/blob/trunk/docs/install_linux.md) +### Actions + +Get a status of the most recently ran Actions workflows. + +```bash +gh run list +``` + +View why a specific run failed. + +```bash +gh view N +``` +- where N is your failed job ID (third from the right column) + +Rerun a specific workflow that failed. + +```bash +gh rerun N +``` +- where N is your failed job ID (third from the right column) + ### Authentication Authenticate with your Github account.