GitHub Actions

GitHub Actions allow you to automate your workflow.

Install

Create a directory for your actions in your project.

mkdir -p .github/workflows

Security

SAST

  • Gitleaks is a SAST tool for detecting and preventing hardcoded secrets like passwords, API keys, and tokens in git repos.

Snippets

Get the current repo name, excluding its owner. For example, owner-name/repo-name becomes simply repo-name.

REPO_NAME="${GITHUB_REPOSITORY#*/}"
GitHub Actions
Interactive graph
On this page
Install
Security
SAST
Snippets