mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-23 06:16:43 +00:00
parent
bb7098ac8e
commit
686cdd6ada
23
README.md
23
README.md
@ -57,14 +57,21 @@ Latest version is `v3.0.1-beta`.
|
|||||||
|
|
||||||
### Inputs
|
### Inputs
|
||||||
|
|
||||||
| Input | Default value | Description |
|
The workflow files takes the following required/optional inputs:
|
||||||
|----------|---------------|-------------|
|
|
||||||
| `REPO` | `"${{ github.repository }}"` | The path to the repository where the action will be used, e.g. 'alstr/my-repo' (automatically set) |
|
| Input | Required | Description |
|
||||||
| `BEFORE` | `"${{ github.event.before }}"` | The SHA of the last pushed commit (automatically set) |
|
|----------|----------|-------------|
|
||||||
| `SHA` | `"${{ github.sha }}"` | The SHA of the latest commit (automatically set) |
|
| `TOKEN` | Yes | The GitHub access token to allow us to retrieve, create and update issues for your repo. This should be set to `${{ secrets.GITHUB_TOKEN }}`. |
|
||||||
| `TOKEN` | `"${{ secrets.GITHUB_TOKEN }}"` | The GitHub access token to allow us to retrieve, create and update issues (automatically set) |
|
| `CLOSE_ISSUES` | No | Optional boolean input that specifies whether to attempt to close an issue when a TODO is removed. Default: `true`. |
|
||||||
| `CLOSE_ISSUES` | `true` | Optional input that specifies whether to attempt to close an issue when a TODO is removed |
|
| `AUTO_P` | No | Optional boolean input that specifies whether to format each line in multiline TODOs as a new paragraph. Default: `true`. |
|
||||||
| `AUTO_P` | `true` | For multiline TODOs, format each line as a new paragraph when creating the issue |
|
|
||||||
|
Three other inputs are provided automatically by GitHub and should not be included in your workflow file, but you may see them referred to in these docs:
|
||||||
|
|
||||||
|
| Input | Description |
|
||||||
|
|----------|-------------|
|
||||||
|
| `REPO` | The path to the repository where the action will be used, e.g. 'alstr/my-repo'. |
|
||||||
|
| `BEFORE` | The SHA of the last pushed commit. |
|
||||||
|
| `SHA` | The SHA of the latest commit. |
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user