[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/gitea-issue-forms.json","$comment":"https://docs.gitea.com/next/usage/issue-pull-request-templates","additionalProperties":false,"definitions":{"type":{"description":"A form item type\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template","type":"string","enum":["checkboxes","dropdown","input","markdown","textarea"]},"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","examples":["SampleId"]},"validations":{"title":"validation options","type":"object","properties":{"required":{"description":"Specify whether require a form item","type":"boolean","default":false}},"additionalProperties":false},"input_validations":{"title":"input validation options","type":"object","properties":{"required":{"description":"Specify whether require a form item","type":"boolean","default":false},"is_number":{"description":"check if input must be a number","type":"boolean","default":false},"regex":{"description":"enforce specific pattern to an input by a regular expression","type":"string","examples":["^\\d{6,6}$"]}},"additionalProperties":false},"visible":{"title":"visible option if an item should be in form or created issue or both","type":"array","minItems":1,"maxItems":2,"items":{"type":"string","enum":["form","content"]}},"assignee":{"type":"string","maxLength":39,"pattern":"^[a-zA-Z0-9](-?[a-zA-Z0-9])*$","examples":["SampleAssignee"]},"label":{"type":"string","minLength":1,"examples":["Sample label"]},"description":{"type":"string","default":"","examples":["Sample description"]},"placeholder":{"type":"string","default":"","examples":["Sample placeholder"]},"value":{"type":"string","minLength":1,"examples":["Sample value"]},"form_item":{"title":"form item","description":"A form item\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template","type":"object","required":["type"],"properties":{"type":{"$ref":"#/definitions/type"}},"allOf":[{"if":{"properties":{"type":{"const":"markdown"}}},"then":{"$comment":"For `additionalProperties` to work `type` must also be present here.","title":"markdown","description":"Markdown\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#markdown","type":"object","required":["type","attributes"],"properties":{"type":{"$ref":"#/definitions/type"},"attributes":{"title":"markdown attributes","description":"Markdown attributes\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#markdown","type":"object","required":["value"],"properties":{"value":{"description":"A markdown formatted text","type":"string","minLength":1,"examples":["Sample _code_!"]}},"additionalProperties":false},"visible":{"$ref":"#/definitions/visible"}},"additionalProperties":false}},{"if":{"properties":{"type":{"const":"textarea"}}},"then":{"$comment":"For `additionalProperties` to work `type` must also be present here.","title":"textarea","description":"Textarea\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#textarea","type":"object","required":["type","attributes"],"properties":{"type":{"$ref":"#/definitions/type"},"id":{"$ref":"#/definitions/id","description":"A textarea id"},"attributes":{"title":"textarea attributes","description":"Textarea attributes\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#textarea","type":"object","required":["label"],"properties":{"label":{"$ref":"#/definitions/label","description":"A short textarea description\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#textarea"},"description":{"$ref":"#/definitions/description","description":"A long textarea description\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#textarea"},"placeholder":{"$ref":"#/definitions/placeholder","description":"A textarea placeholder\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#textarea"},"value":{"$ref":"#/definitions/value","description":"A textarea value\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#textarea"},"render":{"description":"A textarea syntax highlighting mode\nAll supported languages are mentioned at https://github.com/alecthomas/chroma/?tab=readme-ov-file#supported-languages","type":"string"}},"additionalProperties":false},"validations":{"$ref":"#/definitions/validations","title":"textarea validations","description":"Textarea validations\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#textarea"},"visible":{"$ref":"#/definitions/visible"}},"additionalProperties":false}},{"if":{"properties":{"type":{"const":"input"}}},"then":{"$comment":"For `additionalProperties` to work `type` must also be present here.","title":"input","description":"Input\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#input","type":"object","required":["type","attributes"],"properties":{"type":{"$ref":"#/definitions/type"},"id":{"$ref":"#/definitions/id","description":"An input id"},"attributes":{"title":"input attributes","description":"Input attributes\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#input","type":"object","required":["label"],"properties":{"label":{"$ref":"#/definitions/label","description":"A short input description\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#input"},"description":{"$ref":"#/definitions/description","description":"A long input description\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#input"},"placeholder":{"$ref":"#/definitions/placeholder","description":"An input placeholder\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#input"},"value":{"$ref":"#/definitions/value","description":"An input value\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#input"}},"additionalProperties":false},"validations":{"$ref":"#/definitions/input_validations","title":"input validations","description":"Input validations\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#input"},"visible":{"$ref":"#/definitions/visible"}},"additionalProperties":false}},{"if":{"properties":{"type":{"const":"dropdown"}}},"then":{"$comment":"For `additionalProperties` to work `type` must also be present here.","title":"dropdown","description":"dropdown\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown","type":"object","required":["type","attributes"],"properties":{"type":{"$ref":"#/definitions/type"},"id":{"$ref":"#/definitions/id","description":"A dropdown id"},"attributes":{"title":"dropdown attributes","description":"Dropdown attributes\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown","type":"object","required":["label","options"],"properties":{"label":{"$ref":"#/definitions/label","description":"A short dropdown description\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown"},"description":{"$ref":"#/definitions/description","description":"A long dropdown description\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown"},"multiple":{"description":"Specify whether allow a multiple choices\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown","type":"boolean","default":false},"options":{"description":"Dropdown choices\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown","type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","minLength":1,"examples":["Sample choice"]}},"default":{"description":"Index of the default option\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown","type":"integer","examples":[0]}},"additionalProperties":false},"validations":{"$ref":"#/definitions/validations","title":"dropdown validations","description":"Dropdown validations\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown"},"visible":{"$ref":"#/definitions/visible"}},"additionalProperties":false}},{"if":{"properties":{"type":{"const":"checkboxes"}}},"then":{"$comment":"For `additionalProperties` to work `type` must also be present here.","title":"checkboxes","description":"Checkboxes\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes","type":"object","required":["type","attributes"],"properties":{"type":{"$ref":"#/definitions/type"},"id":{"$ref":"#/definitions/id","description":"Checkbox list id"},"attributes":{"title":"checkbox list attributes","description":"Checkbox list attributes\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes","type":"object","required":["label","options"],"properties":{"label":{"$ref":"#/definitions/label","description":"A short checkbox list description\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes"},"description":{"$ref":"#/definitions/description","description":"A long checkbox list description\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes"},"options":{"description":"Checkbox list choices\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes","type":"array","minItems":1,"items":{"title":"checkbox list choice","description":"Checkbox list choice\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes","type":"object","required":["label"],"properties":{"label":{"description":"A short checkbox list choice description\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes","type":"string","minLength":1,"examples":["Sample label"]},"required":{"description":"Specify whether a choice is required\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes","type":"boolean","default":false},"visible":{"$ref":"#/definitions/visible"}},"additionalProperties":false}}},"additionalProperties":false},"visible":{"$ref":"#/definitions/visible"}},"additionalProperties":false}}]}},"properties":{"name":{"description":"An issue template name\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template","type":"string","minLength":1,"examples":["Sample name"]},"about":{"description":"An issue template description\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template","type":"string","minLength":1,"examples":["Sample about"]},"body":{"description":"An issue template body\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template","type":"array","minItems":1,"items":{"$ref":"#/definitions/form_item"}},"assignees":{"description":"An issue template assignees\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template","oneOf":[{"$ref":"#/definitions/assignee"},{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/assignee"}}]},"labels":{"description":"An issue template labels\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template","type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","minLength":1,"examples":["Sample label","bug","documentation","duplicate","enhancement","good first issue","help wanted","invalid","question","wontfix"]}},"title":{"description":"An issue template title\nhttps://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template","type":"string","minLength":1,"examples":["Sample title","Bug: ","Feature: "]}},"required":["name","about","body"],"title":"GitHub issue forms config file schema","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "GitHub issue forms config file schema". Here are the required top‑level fields: name, about, body. Return only the valid JSON object.

A form item type
https://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template

checkboxes dropdown input markdown textarea

validation options

Specify whether require a form item

input validation options

Specify whether require a form item

check if input must be a number

enforce specific pattern to an input by a regular expression

visible option if an item should be in form or created issue or both

form item

A form item
https://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template

For `additionalProperties` to work `type` must also be present here.

markdown

Markdown
https://docs.gitea.com/next/usage/issue-pull-request-templates#markdown

markdown attributes

Markdown attributes
https://docs.gitea.com/next/usage/issue-pull-request-templates#markdown

A markdown formatted text

textarea

Textarea
https://docs.gitea.com/next/usage/issue-pull-request-templates#textarea

A textarea id

textarea attributes

Textarea attributes
https://docs.gitea.com/next/usage/issue-pull-request-templates#textarea

A short textarea description
https://docs.gitea.com/next/usage/issue-pull-request-templates#textarea

A long textarea description
https://docs.gitea.com/next/usage/issue-pull-request-templates#textarea

A textarea placeholder
https://docs.gitea.com/next/usage/issue-pull-request-templates#textarea

A textarea value
https://docs.gitea.com/next/usage/issue-pull-request-templates#textarea

A textarea syntax highlighting mode
All supported languages are mentioned at https://github.com/alecthomas/chroma/?tab=readme-ov-file#supported-languages

textarea validations

Textarea validations
https://docs.gitea.com/next/usage/issue-pull-request-templates#textarea

input

Input
https://docs.gitea.com/next/usage/issue-pull-request-templates#input

An input id

input attributes

Input attributes
https://docs.gitea.com/next/usage/issue-pull-request-templates#input

A short input description
https://docs.gitea.com/next/usage/issue-pull-request-templates#input

A long input description
https://docs.gitea.com/next/usage/issue-pull-request-templates#input

An input placeholder
https://docs.gitea.com/next/usage/issue-pull-request-templates#input

An input value
https://docs.gitea.com/next/usage/issue-pull-request-templates#input

input validations

Input validations
https://docs.gitea.com/next/usage/issue-pull-request-templates#input

dropdown

dropdown
https://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown

A dropdown id

dropdown attributes

Dropdown attributes
https://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown

A short dropdown description
https://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown

A long dropdown description
https://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown

Specify whether allow a multiple choices
https://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown

Dropdown choices
https://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown

Index of the default option
https://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown

dropdown validations

Dropdown validations
https://docs.gitea.com/next/usage/issue-pull-request-templates#dropdown

checkboxes

Checkboxes
https://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes

Checkbox list id

checkbox list attributes

Checkbox list attributes
https://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes

A short checkbox list description
https://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes

A long checkbox list description
https://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes

Checkbox list choices
https://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes

checkbox list choice

Checkbox list choice
https://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes

A short checkbox list choice description
https://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes

Specify whether a choice is required
https://docs.gitea.com/next/usage/issue-pull-request-templates#checkboxes

An issue template name
https://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template

An issue template description
https://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template

An issue template body
https://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template

An issue template assignees
https://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template

An issue template labels
https://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template

Sample label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix

An issue template title
https://docs.gitea.com/next/usage/issue-pull-request-templates#syntax-for-yaml-template

GitHub issue forms config file schema

Provide a JSON object that satisfies the schema "GitHub issue forms config file schema". Here are the required top‑level fields: name, about, body. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/github-action.json","$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions","additionalProperties":false,"definitions":{"expressionSyntax":{"$comment":"escape `{` and `}` in pattern to be unicode compatible (#1360)","type":"string","pattern":"^\\$\\{\\{(.|[\r\n])*\\}\\}$"},"stringContainingExpressionSyntax":{"$comment":"escape `{` and `}` in pattern to be unicode compatible (#1360)","type":"string","pattern":"^.*\\$\\{\\{(.|[\r\n])*\\}\\}.*$"},"pre-if":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspre-if","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.","type":"string"},"post-if":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost-if","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()`.","type":"string"},"runs-javascript":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-javascript-actions","description":"Configures the path to the action's code and the application used to execute the code.","type":"object","properties":{"using":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing","description":"The application used to execute the code specified in `main`.","enum":["node12","node16","node20"]},"main":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsmain","description":"The file that contains your action code. The application specified in `using` executes this file.","type":"string"},"pre":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspre","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`.","type":"string"},"pre-if":{"$ref":"#/definitions/pre-if"},"post":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost","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`.","type":"string"},"post-if":{"$ref":"#/definitions/post-if"}},"required":["using","main"],"additionalProperties":false},"runs-composite":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-actions","description":"Configures the path to the composite action, and the application used to execute the code.","type":"object","properties":{"using":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-for-composite-actions","description":"To use a composite run steps action, set this to 'composite'.","const":"composite"},"steps":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runssteps","description":"The run steps that you plan to run in this action.","type":"array","items":{"type":"object","properties":{"run":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsrun","description":"The command you want to run. This can be inline or a script in your action repository.","type":"string"},"shell":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsshell","description":"The shell where you want to run the command.","type":"string","anyOf":[{"$comment":"https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#custom-shell"},{"enum":["bash","pwsh","python","sh","cmd","powershell"]}]},"uses":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsuses","description":"Selects an action to run as part of a step in your job.","type":"string"},"with":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepswith","description":"A map of the input parameters defined by the action. Each input parameter is a key/value pair. Input parameters are set as environment variables. The variable is prefixed with INPUT_ and converted to upper case.","type":"object"},"name":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsname","description":"The name of the composite run step.","type":"string"},"id":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsid","description":"A unique identifier for the step. You can use the `id` to reference the step in contexts.","type":"string"},"if":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsif","description":"You can use the if conditional to prevent a step from running unless a condition is met. You can use any supported context and expression to create a conditional.\nExpressions in an if conditional do not require the ${{ }} syntax. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions.","type":"string"},"env":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsenv","description":"Sets a map of environment variables for only that step.","oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},{"$ref":"#/definitions/stringContainingExpressionSyntax"}]},"continue-on-error":{"$comment":"https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error","description":"Prevents a job from failing when a step fails. Set to true to allow a job to pass when this step fails.","oneOf":[{"type":"boolean"},{"$ref":"#/definitions/expressionSyntax"}],"default":false},"working-directory":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsworking-directory","description":"Specifies the working directory where the command is run.","type":"string"}},"oneOf":[{"required":["run","shell"]},{"required":["uses"]}],"additionalProperties":false}}},"required":["using","steps"],"additionalProperties":false},"runs-docker":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-docker-container-actions","description":"Configures the image used for the Docker action.","type":"object","properties":{"using":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-for-docker-container-actions","description":"You must set this value to 'docker'.","const":"docker"},"image":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsimage","description":"The Docker image to use as the container to run the action. The value can be the Docker base image name, a local `Dockerfile` in your repository, or a public image in Docker Hub or another registry. To reference a `Dockerfile` local to your repository, use a path relative to your action metadata file. The `docker` application will execute this file.","type":"string"},"env":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsenv","description":"Specifies a key/value map of environment variables to set in the container environment.","oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},{"$ref":"#/definitions/stringContainingExpressionSyntax"}]},"entrypoint":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsentrypoint","description":"Overrides the Docker `ENTRYPOINT` in the `Dockerfile`, or sets it if one wasn't already specified. Use `entrypoint` when the `Dockerfile` does not specify an `ENTRYPOINT` or you want to override the `ENTRYPOINT` instruction. If you omit `entrypoint`, the commands you specify in the Docker `ENTRYPOINT` instruction will execute. The Docker `ENTRYPOINT instruction has a *shell* form and *exec* form. The Docker `ENTRYPOINT` documentation recommends using the *exec* form of the `ENTRYPOINT` instruction.","type":"string"},"pre-entrypoint":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspre-entrypoint","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`.","type":"string"},"pre-if":{"$ref":"#/definitions/pre-if"},"post-entrypoint":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost-entrypoint","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`.","type":"string"},"post-if":{"$ref":"#/definitions/post-if"},"args":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsargs","description":"An array of strings that define the inputs for a Docker container. Inputs can include hardcoded strings. GitHub passes the `args` to the container's `ENTRYPOINT` when the container starts up.\nThe `args` are used in place of the `CMD` instruction in a `Dockerfile`. If you use `CMD` in your `Dockerfile`, use the guidelines ordered by preference:\n- Document required arguments in the action's README and omit them from the `CMD` instruction.\n- Use defaults that allow using the action without specifying any `args`.\n- If the action exposes a `--help` flag, or something similar, use that to make your action self-documenting.","type":"array","items":{"type":"string"}}},"required":["using","image"],"additionalProperties":false},"outputs":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-docker-container-and-javascript-actions","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.","type":"object","patternProperties":{"^[_a-zA-Z][a-zA-Z0-9_-]*$":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputsoutput_id","description":"A string identifier to associate with the output. The value of `<output_id>` is a map of the output's metadata. The `<output_id>` must be a unique identifier within the outputs object. The `<output_id>` must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`.","type":"object","properties":{"description":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputsoutput_iddescription","description":"A string description of the output parameter.","type":"string"}},"required":["description"],"additionalProperties":false}},"additionalProperties":false},"outputs-composite":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-composite-actions","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.","type":"object","patternProperties":{"^[_a-zA-Z][a-zA-Z0-9_-]*$":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputsoutput_id","description":"A string identifier to associate with the output. The value of `<output_id>` is a map of the output's metadata. The `<output_id>` must be a unique identifier within the outputs object. The `<output_id>` must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`.","type":"object","properties":{"description":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputsoutput_iddescription","description":"A string description of the output parameter.","type":"string"},"value":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputsoutput_idvalue","description":"The value that the output parameter will be mapped to. You can set this to a string or an expression with context. For example, you can use the steps context to set the value of an output to the output value of a step.","type":"string"}},"required":["description","value"],"additionalProperties":false}},"additionalProperties":false}},"else":{"properties":{"outputs":{"$ref":"#/definitions/outputs"}}},"if":{"properties":{"runs":{"properties":{"using":{"const":"composite"}}}}},"properties":{"name":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#name","description":"The name of your action. GitHub displays the `name` in the Actions tab to help visually identify actions in each job.","type":"string"},"author":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#author","description":"The name of the action's author.","type":"string"},"description":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#description","description":"A short description of the action.","type":"string"},"inputs":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#inputs","description":"Input parameters allow you to specify data that the action expects to use during runtime. GitHub stores input parameters as environment variables. Input ids with uppercase letters are converted to lowercase during runtime. We recommended using lowercase input ids.","type":"object","patternProperties":{"^[_a-zA-Z][a-zA-Z0-9_-]*$":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#inputsinput_id","description":"A string identifier to associate with the input. The value of `<input_id>` is a map of the input's metadata. The `<input_id>` must be a unique identifier within the inputs object. The `<input_id>` must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`.","type":"object","properties":{"description":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#inputsinput_iddescription","description":"A string description of the input parameter.","type":"string"},"deprecationMessage":{"description":"A string shown to users using the deprecated input.","type":"string"},"required":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#inputsinput_idrequired","description":"A boolean to indicate whether the action requires the input parameter. Set to `true` when the parameter is required.","type":"boolean"},"default":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#inputsinput_iddefault","description":"A string representing the default value. The default value is used when an input parameter isn't specified in a workflow file.","type":"string"}},"required":["description"],"additionalProperties":false}},"additionalProperties":false},"outputs":{"$comment":"Because of `additionalProperties: false`, this empty schema is needed to allow the `outputs` property. The `outputs` subschema is determined by the if/then/else keywords."},"runs":{"oneOf":[{"$ref":"#/definitions/runs-javascript"},{"$ref":"#/definitions/runs-composite"},{"$ref":"#/definitions/runs-docker"}]},"branding":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#branding","description":"You can use a color and Feather icon to create a badge to personalize and distinguish your action. Badges are shown next to your action name in GitHub Marketplace.","type":"object","properties":{"color":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#brandingcolor","description":"The background color of the badge.","type":"string","enum":["white","black","yellow","blue","green","orange","red","purple","gray-dark"]},"icon":{"$comment":"https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#brandingicon","description":"The name of the Feather icon to use.","type":"string","enum":["activity","airplay","alert-circle","alert-octagon","alert-triangle","align-center","align-justify","align-left","align-right","anchor","aperture","archive","arrow-down-circle","arrow-down-left","arrow-down-right","arrow-down","arrow-left-circle","arrow-left","arrow-right-circle","arrow-right","arrow-up-circle","arrow-up-left","arrow-up-right","arrow-up","at-sign","award","bar-chart-2","bar-chart","battery-charging","battery","bell-off","bell","bluetooth","bold","book-open","book","bookmark","box","briefcase","calendar","camera-off","camera","cast","check-circle","check-square","check","chevron-down","chevron-left","chevron-right","chevron-up","chevrons-down","chevrons-left","chevrons-right","chevrons-up","circle","clipboard","clock","cloud-drizzle","cloud-lightning","cloud-off","cloud-rain","cloud-snow","cloud","code","command","compass","copy","corner-down-left","corner-down-right","corner-left-down","corner-left-up","corner-right-down","corner-right-up","corner-up-left","corner-up-right","cpu","credit-card","crop","crosshair","database","delete","disc","dollar-sign","download-cloud","download","droplet","edit-2","edit-3","edit","external-link","eye-off","eye","fast-forward","feather","file-minus","file-plus","file-text","file","film","filter","flag","folder-minus","folder-plus","folder","gift","git-branch","git-commit","git-merge","git-pull-request","globe","grid","hard-drive","hash","headphones","heart","help-circle","home","image","inbox","info","italic","layers","layout","life-buoy","link-2","link","list","loader","lock","log-in","log-out","mail","map-pin","map","maximize-2","maximize","menu","message-circle","message-square","mic-off","mic","minimize-2","minimize","minus-circle","minus-square","minus","monitor","moon","more-horizontal","more-vertical","move","music","navigation-2","navigation","octagon","package","paperclip","pause-circle","pause","percent","phone-call","phone-forwarded","phone-incoming","phone-missed","phone-off","phone-outgoing","phone","pie-chart","play-circle","play","plus-circle","plus-square","plus","pocket","power","printer","radio","refresh-ccw","refresh-cw","repeat","rewind","rotate-ccw","rotate-cw","rss","save","scissors","search","send","server","settings","share-2","share","shield-off","shield","shopping-bag","shopping-cart","shuffle","sidebar","skip-back","skip-forward","slash","sliders","smartphone","speaker","square","star","stop-circle","sun","sunrise","sunset","table","tablet","tag","target","terminal","thermometer","thumbs-down","thumbs-up","toggle-left","toggle-right","trash-2","trash","trending-down","trending-up","triangle","truck","tv","type","umbrella","underline","unlock","upload-cloud","upload","user-check","user-minus","user-plus","user-x","user","users","video-off","video","voicemail","volume-1","volume-2","volume-x","volume","watch","wifi-off","wifi","wind","x-circle","x-square","x","zap-off","zap","zoom-in","zoom-out"]}},"additionalProperties":false}},"required":["name","description","runs"],"then":{"properties":{"outputs":{"$ref":"#/definitions/outputs-composite"}}},"type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "github-action". Here are the required top‑level fields: name, description, runs. Return only the valid JSON object.

escape `{` and `}` in pattern to be unicode compatible (#1360)

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.

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()`.

Configures the path to the action's code and the application used to execute the code.

The application used to execute the code specified in `main`.

The file that contains your action code. The application specified in `using` executes this file.

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`.

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`.

Configures the path to the composite action, and the application used to execute the code.

To use a composite run steps action, set this to 'composite'.

The run steps that you plan to run in this action.

The command you want to run. This can be inline or a script in your action repository.

The shell where you want to run the command.

Selects an action to run as part of a step in your job.

A map of the input parameters defined by the action. Each input parameter is a key/value pair. Input parameters are set as environment variables. The variable is prefixed with INPUT_ and converted to upper case.

The name of the composite run step.

A unique identifier for the step. You can use the `id` to reference the step in contexts.

You can use the if conditional to prevent a step from running unless a condition is met. You can use any supported context and expression to create a conditional.
Expressions in an if conditional do not require the ${{ }} syntax. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions.

Sets a map of environment variables for only that step.

Prevents a job from failing when a step fails. Set to true to allow a job to pass when this step fails.

Specifies the working directory where the command is run.

Configures the image used for the Docker action.

You must set this value to 'docker'.

The Docker image to use as the container to run the action. The value can be the Docker base image name, a local `Dockerfile` in your repository, or a public image in Docker Hub or another registry. To reference a `Dockerfile` local to your repository, use a path relative to your action metadata file. The `docker` application will execute this file.

Specifies a key/value map of environment variables to set in the container environment.

Overrides the Docker `ENTRYPOINT` in the `Dockerfile`, or sets it if one wasn't already specified. Use `entrypoint` when the `Dockerfile` does not specify an `ENTRYPOINT` or you want to override the `ENTRYPOINT` instruction. If you omit `entrypoint`, the commands you specify in the Docker `ENTRYPOINT` instruction will execute. The Docker `ENTRYPOINT instruction has a *shell* form and *exec* form. The Docker `ENTRYPOINT` documentation recommends using the *exec* form of the `ENTRYPOINT` instruction.

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`.

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`.

An array of strings that define the inputs for a Docker container. Inputs can include hardcoded strings. GitHub passes the `args` to the container's `ENTRYPOINT` when the container starts up.
The `args` are used in place of the `CMD` instruction in a `Dockerfile`. If you use `CMD` in your `Dockerfile`, use the guidelines ordered by preference:
- Document required arguments in the action's README and omit them from the `CMD` instruction.
- Use defaults that allow using the action without specifying any `args`.
- If the action exposes a `--help` flag, or something similar, use that to make your action self-documenting.

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.
If you don't declare an output in your action metadata file, you can still set outputs and use them in a workflow.

A string identifier to associate with the output. The value of `<output_id>` is a map of the output's metadata. The `<output_id>` must be a unique identifier within the outputs object. The `<output_id>` must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`.

A string description of the output parameter.

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.
If you don't declare an output in your action metadata file, you can still set outputs and use them in a workflow.

A string identifier to associate with the output. The value of `<output_id>` is a map of the output's metadata. The `<output_id>` must be a unique identifier within the outputs object. The `<output_id>` must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`.

A string description of the output parameter.

The value that the output parameter will be mapped to. You can set this to a string or an expression with context. For example, you can use the steps context to set the value of an output to the output value of a step.

The name of your action. GitHub displays the `name` in the Actions tab to help visually identify actions in each job.

The name of the action's author.

A short description of the action.

Input parameters allow you to specify data that the action expects to use during runtime. GitHub stores input parameters as environment variables. Input ids with uppercase letters are converted to lowercase during runtime. We recommended using lowercase input ids.

A string identifier to associate with the input. The value of `<input_id>` is a map of the input's metadata. The `<input_id>` must be a unique identifier within the inputs object. The `<input_id>` must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`.

A string description of the input parameter.

A string shown to users using the deprecated input.

A boolean to indicate whether the action requires the input parameter. Set to `true` when the parameter is required.

A string representing the default value. The default value is used when an input parameter isn't specified in a workflow file.

Because of `additionalProperties: false`, this empty schema is needed to allow the `outputs` property. The `outputs` subschema is determined by the if/then/else keywords.

You can use a color and Feather icon to create a badge to personalize and distinguish your action. Badges are shown next to your action name in GitHub Marketplace.

The background color of the badge.

white black yellow blue green orange red purple gray-dark

The name of the Feather icon to use.

activity airplay alert-circle alert-octagon alert-triangle align-center align-justify align-left align-right anchor aperture archive arrow-down-circle arrow-down-left arrow-down-right arrow-down arrow-left-circle arrow-left arrow-right-circle arrow-right arrow-up-circle arrow-up-left arrow-up-right arrow-up at-sign award bar-chart-2 bar-chart battery-charging battery bell-off bell bluetooth bold book-open book bookmark box briefcase calendar camera-off camera cast check-circle check-square check chevron-down chevron-left chevron-right chevron-up chevrons-down chevrons-left chevrons-right chevrons-up circle clipboard clock cloud-drizzle cloud-lightning cloud-off cloud-rain cloud-snow cloud code command compass copy corner-down-left corner-down-right corner-left-down corner-left-up corner-right-down corner-right-up corner-up-left corner-up-right cpu credit-card crop crosshair database delete disc dollar-sign download-cloud download droplet edit-2 edit-3 edit external-link eye-off eye fast-forward feather file-minus file-plus file-text file film filter flag folder-minus folder-plus folder gift git-branch git-commit git-merge git-pull-request globe grid hard-drive hash headphones heart help-circle home image inbox info italic layers layout life-buoy link-2 link list loader lock log-in log-out mail map-pin map maximize-2 maximize menu message-circle message-square mic-off mic minimize-2 minimize minus-circle minus-square minus monitor moon more-horizontal more-vertical move music navigation-2 navigation octagon package paperclip pause-circle pause percent phone-call phone-forwarded phone-incoming phone-missed phone-off phone-outgoing phone pie-chart play-circle play plus-circle plus-square plus pocket power printer radio refresh-ccw refresh-cw repeat rewind rotate-ccw rotate-cw rss save scissors search send server settings share-2 share shield-off shield shopping-bag shopping-cart shuffle sidebar skip-back skip-forward slash sliders smartphone speaker square star stop-circle sun sunrise sunset table tablet tag target terminal thermometer thumbs-down thumbs-up toggle-left toggle-right trash-2 trash trending-down trending-up triangle truck tv type umbrella underline unlock upload-cloud upload user-check user-minus user-plus user-x user users video-off video voicemail volume-1 volume-2 volume-x volume watch wifi-off wifi wind x-circle x-square x zap-off zap zoom-in zoom-out

Provide a JSON object that satisfies the schema "github-action". Here are the required top‑level fields: name, description, runs. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/github-actions-typing.json","title":"GitHub Actions typing","description":"Type information for GitHub Actions\nhttps://github.com/typesafegithub/github-actions-typing","definitions":{"property_type":{"type":"object","properties":{"type":{"title":"Type","description":"The type of the input or output.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#available-types","type":"string","enum":["string","boolean","integer","float","enum","list"]}},"required":["type"],"additionalProperties":true},"list_item_type":{"type":"object","properties":{"type":{"title":"Type","description":"The type of the list item.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#list","type":"string","enum":["string","boolean","integer","float","enum"]}},"required":["type"],"additionalProperties":true},"simple_primitive_property":{"type":"object","properties":{"type":{"title":"Type","description":"The type of the input, output, or list item.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#available-types","type":"string","enum":["string","boolean","integer","float"]}},"required":["type"],"additionalProperties":false},"integer_with_named_values_property":{"type":"object","properties":{"type":{"title":"Type","description":"The type of the input, output, or list item.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#available-types","type":"string","const":"integer"},"name":{"title":"Name","description":"A hint for code generators what name can be used as class name.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#integer","type":"string","minLength":1},"named-values":{"title":"Named Values","description":"A map of special names and their value like \"Infinity\" or \"Never\"\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#integer","type":"object","patternProperties":{"^[_a-zA-Z][a-zA-Z0-9_-]*$":{"title":"Named Value","description":"A special name to configure the given value.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#integer","type":"integer"}},"minProperties":1,"additionalProperties":false}},"required":["type","named-values"],"additionalProperties":false},"enum_property":{"type":"object","properties":{"type":{"title":"Type","description":"The type of the input, output, or list item.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#available-types","type":"string","const":"enum"},"name":{"title":"Name","description":"A hint for code generators what name can be used as class name.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#enum","type":"string","minLength":1},"allowed-values":{"title":"Allowed Values","description":"The allowed values for the enum property\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#enum","type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["type","allowed-values"],"additionalProperties":false},"list_property":{"type":"object","properties":{"type":{"title":"Type","description":"The type of the input, output, or list item.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#available-types","type":"string","const":"list"},"separator":{"title":"Separator","description":"The separator that is added between the elements when building the string, for example a comma or newline character.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#list","type":"string","minLength":1},"list-item":{"title":"List Item","description":"The specification how list item elements have to look like.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md#list","type":"object","allOf":[{"$ref":"#/definitions/list_item_type"},{"anyOf":[{"$ref":"#/definitions/simple_primitive_property"},{"$ref":"#/definitions/integer_with_named_values_property"},{"$ref":"#/definitions/enum_property"}]}]}},"required":["type","separator","list-item"],"additionalProperties":false},"property":{"allOf":[{"$ref":"#/definitions/property_type"},{"anyOf":[{"$ref":"#/definitions/simple_primitive_property"},{"$ref":"#/definitions/integer_with_named_values_property"},{"$ref":"#/definitions/enum_property"},{"$ref":"#/definitions/list_property"}]}]},"properties":{"type":"object","patternProperties":{"^[_a-zA-Z][a-zA-Z0-9_-]*$":{"$ref":"#/definitions/property","title":"Input or Output","description":"An input or output of the action.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md","type":"object"}},"additionalProperties":false},"properties_or_null":{"anyOf":[{"type":"null"},{"$ref":"#/definitions/properties"}]},"top_level_or_null":{"anyOf":[{"type":"null"},{"type":"object","properties":{"inputs":{"$ref":"#/definitions/properties_or_null","title":"Inputs","description":"The inputs of the action.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md"},"outputs":{"$ref":"#/definitions/properties_or_null","title":"Outputs","description":"The outputs of the action.\nhttps://github.com/typesafegithub/github-actions-typing/blob/main/README.md"}},"additionalProperties":false}]}},"$ref":"#/definitions/top_level_or_null"}
</schema>

[User] Provide a JSON object that satisfies the schema "GitHub Actions typing". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

GitHub Actions typing

Type information for GitHub Actions
https://github.com/typesafegithub/github-actions-typing

Type

The type of the input or output.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md#available-types

Type

The type of the list item.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md#list

Type

The type of the input, output, or list item.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md#available-types

Type

Name

A hint for code generators what name can be used as class name.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md#integer

Named Values

A map of special names and their value like "Infinity" or "Never"
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md#integer

Named Value

A special name to configure the given value.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md#integer

Type

Name

A hint for code generators what name can be used as class name.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md#enum

Allowed Values

The allowed values for the enum property
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md#enum

Type

Separator

The separator that is added between the elements when building the string, for example a comma or newline character.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md#list

List Item

The specification how list item elements have to look like.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md#list

Input or Output

An input or output of the action.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md

Inputs

The inputs of the action.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md

Outputs

The outputs of the action.
https://github.com/typesafegithub/github-actions-typing/blob/main/README.md

Provide a JSON object that satisfies the schema "GitHub Actions typing". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/github-discussion.json","$comment":"https://docs.github.com/en/discussions/managing-discussions-for-your-community/syntax-for-discussion-category-forms","additionalProperties":false,"properties":{"title":{"description":"A default title that will be pre-populated in the discussion submission form.","type":"string"},"labels":{"description":"Labels that will automatically be added to discussions created with this template.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"body":{"description":"Definition of the input types in the discussion form","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["markdown","textarea","input","dropdown","checkboxes"]},"attributes":{"type":"object","properties":{"label":{"type":"string"},"description":{"type":"string"},"placeholder":{"type":"string"}}},"validations":{"type":"object","properties":{"required":{"type":"boolean"}}}}}}},"required":["body"],"type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "github-discussion". Here are the required top‑level fields: body. Return only the valid JSON object.

A default title that will be pre-populated in the discussion submission form.

Labels that will automatically be added to discussions created with this template.

Definition of the input types in the discussion form

markdown textarea input dropdown checkboxes

Provide a JSON object that satisfies the schema "github-discussion". Here are the required top‑level fields: body. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/github-funding.json","$comment":"https://docs.github.com/en/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository","additionalProperties":false,"definitions":{"github_username":{"type":"string","maxLength":39,"pattern":"^[a-zA-Z0-9](-?[a-zA-Z0-9])*$","examples":["SampleUserName"]},"nullable_string":{"type":["string","null"]}},"description":"You can add a sponsor button in your repository to increase the visibility of funding options for your open source project.","properties":{"community_bridge":{"$ref":"#/definitions/nullable_string","title":"CommunityBridge","description":"Project name on CommunityBridge.","minLength":1},"github":{"title":"GitHub Sponsors","description":"Username or usernames on GitHub.","oneOf":[{"$ref":"#/definitions/github_username"},{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/github_username"}}]},"issuehunt":{"$ref":"#/definitions/nullable_string","title":"IssueHunt","description":"Username on IssueHunt.","minLength":1},"ko_fi":{"$ref":"#/definitions/nullable_string","title":"Ko-fi","description":"Username on Ko-fi.","minLength":1},"liberapay":{"$ref":"#/definitions/nullable_string","title":"Liberapay","description":"Username on Liberapay.","minLength":1},"open_collective":{"$ref":"#/definitions/nullable_string","title":"Open Collective","description":"Username on Open Collective.","minLength":1},"otechie":{"$ref":"#/definitions/nullable_string","title":"Otechie","description":"Username on Otechie.","minLength":1},"patreon":{"$ref":"#/definitions/nullable_string","title":"Patreon","description":"Username on Patreon.","minLength":1,"maxLength":100},"tidelift":{"$ref":"#/definitions/nullable_string","title":"Tidelift","description":"Platform and package on Tidelift.","pattern":"^(npm|pypi|rubygems|maven|packagist|nuget)/.+$"},"lfx_crowdfunding":{"$ref":"#/definitions/nullable_string","title":"LFX Crowdfunding","description":"Project name on LFX Crowdfunding.","minLength":1},"polar":{"$ref":"#/definitions/github_username","title":"Polar","description":"Username on Polar.","minLength":1},"buy_me_a_coffee":{"$ref":"#/definitions/nullable_string","title":"Buy Me a Coffee","description":"Username on Buy Me a Coffee.","minLength":1},"thanks_dev":{"$ref":"#/definitions/nullable_string","title":"thanks.dev","description":"Maintainer profile on thanks.dev","pattern":"^u/gh/.+$"},"custom":{"title":"Custom URL","description":"Link or links where funding is accepted on external locations.","type":["string","array","null"],"format":"uri-reference","items":{"title":"Link","description":"Link to an external location.","type":"string","format":"uri-reference"},"uniqueItems":true}},"title":"GitHub Funding","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "GitHub Funding". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

You can add a sponsor button in your repository to increase the visibility of funding options for your open source project.

CommunityBridge

Project name on CommunityBridge.

GitHub Sponsors

Username or usernames on GitHub.

IssueHunt

Username on IssueHunt.

Ko-fi

Username on Ko-fi.

Liberapay

Username on Liberapay.

Open Collective

Username on Open Collective.

Otechie

Username on Otechie.

Patreon

Username on Patreon.

Tidelift

Platform and package on Tidelift.

LFX Crowdfunding

Project name on LFX Crowdfunding.

Polar

Username on Polar.

Buy Me a Coffee

Username on Buy Me a Coffee.

thanks.dev

Maintainer profile on thanks.dev

Custom URL

Link or links where funding is accepted on external locations.

Link

Link to an external location.

GitHub Funding

Provide a JSON object that satisfies the schema "GitHub Funding". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/github-issue-config.json","$comment":"https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser","properties":{"blank_issues_enabled":{"description":"Specify whether allow blank issue creation\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser","type":"boolean"},"contact_links":{"title":"contact links","description":"Contact links\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser","type":"array","minItems":1,"items":{"type":"object","required":["name","url","about"],"properties":{"name":{"description":"A link title\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser","type":"string","minLength":1,"examples":["Sample name"]},"url":{"description":"A link URL\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser","type":"string","pattern":"^https?://","examples":["https://sample/url"]},"about":{"description":"A link description\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser","type":"string","minLength":1,"examples":["Sample description"]}},"additionalProperties":false}}},"additionalProperties":false,"title":"GitHub issue template chooser config file schema","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "GitHub issue template chooser config file schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Specify whether allow blank issue creation
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser

contact links

Contact links
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser

A link title
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser

A link URL
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser

A link description
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser

Provide a JSON object that satisfies the schema "GitHub issue template chooser config file schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.