Skip to content

Latest commit

 

History

History
79 lines (53 loc) · 1.58 KB

USAGE.md

File metadata and controls

79 lines (53 loc) · 1.58 KB

Usage

$ pinact help
NAME:
   pinact - Pin GitHub Actions versions. https://github.com/suzuki-shunsuke/pinact

USAGE:
   pinact [global options] command [command options] [arguments...]

VERSION:
   0.1.2 (653c220664e6901b11c53a329e1d21af58465c9d)

COMMANDS:
   version  Show version
   run      Pin GitHub Actions versions
   init     Create .pinact.yaml if it doesn't exist
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --log-level value         log level [$PINACT_LOG_LEVEL]
   --config value, -c value  configuration file path [$PINACT_CONFIG]
   --help, -h                show help
   --version, -v             print the version

pinact init

$ pinact help init
NAME:
   pinact init - Create .pinact.yaml if it doesn't exist

USAGE:
   pinact init [command options] [arguments...]

DESCRIPTION:
   Create .pinact.yaml if it doesn't exist

   $ pinact init

   You can also pass configuration file path.

   e.g.

   $ pinact init .github/pinact.yaml


OPTIONS:
   --help, -h  show help

pinact run

$ pinact help run
NAME:
   pinact run - Pin GitHub Actions versions

USAGE:
   pinact run [command options] [arguments...]

DESCRIPTION:
   If no argument is passed, pinact searches GitHub Actions workflow files from .github/workflows.

   $ pinact run

   You can also pass workflow file paths as arguments.

   e.g.

   $ pinact run .github/actions/foo/action.yaml .github/actions/bar/action.yaml


OPTIONS:
   --help, -h  show help