-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
USAGE.md
79 lines (53 loc) · 1.58 KB
/
USAGE.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Usage
<!-- This is generated by scripts/generate-usage.sh. Don't edit this file directly. -->
```console
$ 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
```console
$ 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
```console
$ 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
```