List recent GitHub Actions runs
Lists the most recent GitHub Actions workflow runs (requires gh cli).
gh run list --limit 5
17 commands from the cloud runbook. Fill in a placeholder once and every command uses it.
Lists the most recent GitHub Actions workflow runs (requires gh cli).
gh run list --limit 5
Follows the logs of a running GitHub Actions workflow.
gh run watch
Uses nektos/act to run your github actions locally via docker.
act -l
Creates a pull request from the current branch using GitHub CLI.
gh pr create --title "feat: my feature" --body "Description" --base main
Merges a pull request using squash merge.
gh pr merge --squash --delete-branch
Creates a new release on GitHub with auto-generated notes.
gh release create v1.0.0 --generate-notes
Triggers a Jenkins job build remotely using curl.
curl -X POST "https://jenkins.example.com/job/<job-name>/build" --user "<user>:$JENKINS_TOKEN"
Reads the API token from an environment variable so it stays out of your shell history.
Scans a container image for known CVEs.
docker scout cves <image-name>:<tag>
Scans a container image for vulnerabilities using Trivy.
trivy image <image-name>:<tag>
Lints a Dockerfile for best practices and common mistakes.
hadolint Dockerfile
Forces a sync of an ArgoCD application.
argocd app sync <app-name>
Shows the diff between the live state and desired state in ArgoCD.
argocd app diff <app-name>
Triggers a workflow_dispatch event on a GitHub Actions workflow.
gh workflow run <workflow-name>
Bumps the version in package.json using npm.
npm version patch -m 'chore: bump version to %s'
Re-runs only the jobs that failed in a GitHub Actions run.
gh run rerun <run-id> --failed
Prints the logs of only the failed steps of a GitHub Actions run.
gh run view <run-id> --log-failed
Checks the workflow files in .github/workflows for syntax and expression errors.
actionlint