|
15 | 15 | "pattern": "^.*\\$\\{\\{(.|[\r\n])*\\}\\}.*$"
|
16 | 16 | },
|
17 | 17 | "pre-if": {
|
18 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#pre-if", |
| 18 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspre-if", |
19 | 19 | "description": "Allows you to define conditions for the `pre:` action execution. The `pre:` action will only run if the conditions in `pre-if` are met. If not set, then `pre-if` defaults to `always()`. Note that the `step` context is unavailable, as no steps have run yet.",
|
20 | 20 | "type": "string"
|
21 | 21 | },
|
22 | 22 | "post-if": {
|
23 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#post-if", |
| 23 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost-if", |
24 | 24 | "description": "Allows you to define conditions for the `post:` action execution. The `post:` action will only run if the conditions in `post-if` are met. If not set, then `post-if` defaults to `always()`.",
|
25 | 25 | "type": "string"
|
26 | 26 | },
|
|
40 | 40 | "type": "string"
|
41 | 41 | },
|
42 | 42 | "pre": {
|
43 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#pre", |
| 43 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspre", |
44 | 44 | "description": "Allows you to run a script at the start of a job, before the `main:` action begins. For example, you can use `pre:` to run a prerequisite setup script. The application specified with the `using` syntax will execute this file. The `pre:` action always runs by default but you can override this using `pre-if`.",
|
45 | 45 | "type": "string"
|
46 | 46 | },
|
47 | 47 | "pre-if": {
|
48 | 48 | "$ref": "#/definitions/pre-if"
|
49 | 49 | },
|
50 | 50 | "post": {
|
51 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#post", |
| 51 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost", |
52 | 52 | "description": "Allows you to run a script at the end of a job, once the `main:` action has completed. For example, you can use `post:` to terminate certain processes or remove unneeded files. The application specified with the `using` syntax will execute this file. The `post:` action always runs by default but you can override this using `post-if`.",
|
53 | 53 | "type": "string"
|
54 | 54 | },
|
|
60 | 60 | "additionalProperties": false
|
61 | 61 | },
|
62 | 62 | "runs-composite": {
|
63 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-run-steps-actions", |
| 63 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-actions", |
64 | 64 | "description": "Configures the path to the composite action, and the application used to execute the code.",
|
65 | 65 | "type": "object",
|
66 | 66 | "properties": {
|
67 | 67 | "using": {
|
68 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-1", |
| 68 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-for-composite-actions", |
69 | 69 | "description": "To use a composite run steps action, set this to 'composite'.",
|
70 | 70 | "const": "composite"
|
71 | 71 | },
|
|
169 | 169 | "additionalProperties": false
|
170 | 170 | },
|
171 | 171 | "runs-docker": {
|
172 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-docker-actions", |
| 172 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-docker-container-actions", |
173 | 173 | "description": "Configures the image used for the Docker action.",
|
174 | 174 | "type": "object",
|
175 | 175 | "properties": {
|
176 | 176 | "using": {
|
177 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-2", |
| 177 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-for-docker-container-actions", |
178 | 178 | "description": "You must set this value to 'docker'.",
|
179 | 179 | "const": "docker"
|
180 | 180 | },
|
|
214 | 214 | "type": "string"
|
215 | 215 | },
|
216 | 216 | "pre-entrypoint": {
|
217 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#pre-entrypoint", |
| 217 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspre-entrypoint", |
218 | 218 | "description": "Allows you to run a script before the `entrypoint` action begins. For example, you can use `pre-entrypoint:` to run a prerequisite setup script. GitHub Actions uses `docker run` to launch this action, and runs the script inside a new container that uses the same base image. This means that the runtime state is different from the main `entrypoint` container, and any states you require must be accessed in either the workspace, `HOME`, or as a `STATE_` variable. The `pre-entrypoint:` action always runs by default but you can override this using `pre-if`.",
|
219 | 219 | "type": "string"
|
220 | 220 | },
|
221 | 221 | "pre-if": {
|
222 | 222 | "$ref": "#/definitions/pre-if"
|
223 | 223 | },
|
224 | 224 | "post-entrypoint": {
|
225 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#post-entrypoint", |
| 225 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost-entrypoint", |
226 | 226 | "description": "Allows you to run a cleanup script once the `runs.entrypoint` action has completed. GitHub Actions uses `docker run` to launch this action. Because GitHub Actions runs the script inside a new container using the same base image, the runtime state is different from the main `entrypoint` container. You can access any state you need in either the workspace, `HOME`, or as a `STATE_` variable. The `post-entrypoint:` action always runs by default but you can override this using `post-if`.",
|
227 | 227 | "type": "string"
|
228 | 228 | },
|
|
242 | 242 | "additionalProperties": false
|
243 | 243 | },
|
244 | 244 | "outputs": {
|
245 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs", |
| 245 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-docker-container-and-javascript-actions", |
246 | 246 | "description": "Output parameters allow you to declare data that an action sets. Actions that run later in a workflow can use the output data set in previously run actions. For example, if you had an action that performed the addition of two inputs (x + y = z), the action could output the sum (z) for other actions to use as an input.\nIf you don't declare an output in your action metadata file, you can still set outputs and use them in a workflow.",
|
247 | 247 | "type": "object",
|
248 | 248 | "patternProperties": {
|
|
264 | 264 | "additionalProperties": false
|
265 | 265 | },
|
266 | 266 | "outputs-composite": {
|
267 |
| - "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-composite-run-steps-actions", |
| 267 | + "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-composite-actions", |
268 | 268 | "description": "Output parameters allow you to declare data that an action sets. Actions that run later in a workflow can use the output data set in previously run actions. For example, if you had an action that performed the addition of two inputs (x + y = z), the action could output the sum (z) for other actions to use as an input.\nIf you don't declare an output in your action metadata file, you can still set outputs and use them in a workflow.",
|
269 | 269 | "type": "object",
|
270 | 270 | "patternProperties": {
|
|
0 commit comments