You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| WARN | An executable defined in the ```.hookz.yaml``` file wasn't found on the local system. In this case, the action is ignored and no attempt is made to run it. Flow will continue without an exit code of PASS or FAIL. |
33
-
| FAIL | The action has failed. Execution stops. Consider this like a build break in a CI/CD pipeline that executes on a pull request. Errors must be addressed before the code is allowed to be committed. |
33
+
| FAIL | The action has failed. Execution stops. Consider this like a build break in a CI/CD pipeline that executes on a pull request. Errors must be addressed before the code is allowed to be committed. |
34
34
35
35
## Installation
36
36
@@ -66,7 +66,7 @@ Hookz uses a configuration file to generate hooks in your local git repository.
66
66
### Example Configuration
67
67
68
68
```yaml
69
-
version: 2.4.3
69
+
version: 2.4.4
70
70
tools:
71
71
- tool: github.com/devops-kung-fu/lucha@latest
72
72
- tool: github.com/devops-kung-fu/hinge@latest
@@ -113,7 +113,7 @@ Quite often, downloadable binaries exist for multiple platforms when downloading
113
113
You can use the following to retrieve the right architecture for [hinge](https://github.com/devops-kung-fu/hinge):
114
114
115
115
``` yaml
116
-
version: 2.4.3
116
+
version: 2.4.4
117
117
hooks:
118
118
- type: pre-commit
119
119
actions:
@@ -128,12 +128,12 @@ If you are running ```Hookz``` on a Mac, this will bring down the ```hinge-0.1.0
128
128
129
129
You must have at least an URL, exec, or script defined in your actions. If you select one, then you shouldn't define the others in the YAML. Don't worry if you do, we have you covered and explain what happens in the following table.
130
130
131
-
|Attribute|Notes|
132
-
|---|---|
133
-
|```URL```|If this exists, then exec and script are ignored. The URL must be a link to an executable binary| If you are developing in go then use the ```sources``` node in your ```.hookz.yaml``` to define sources to be installed.
134
-
|```exec```|If this exists then URL and script are ignored|
135
-
|```script```|If this exists then URL, exec, and args are ignored|
|```URL``` | If this exists, then exec and script are ignored. The URL must be a link to an executable binary| If you are developing in go then use the ```sources``` node in your ```.hookz.yaml``` to define sources to be installed. |
134
+
|```exec``` | If this exists then URL and script are ignored|
135
+
|```script``` | If this exists then URL, exec, and args are ignored|
136
+
|```args``` | Optional in all cases|
137
137
138
138
### Inline scripting
139
139
@@ -253,7 +253,7 @@ Check out the collection [here](tackle/README.md).
0 commit comments