Set defaults.

This commit is contained in:
Robert de Bock 2020-11-19 13:27:59 +01:00 committed by GitHub
parent b29bfe9957
commit 1128faa949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,21 +11,28 @@ inputs:
REPO:
description: "The path to the repository where the action will be used, e.g. 'alstr/my-repo' (automatically set)"
required: true
default: "${{ github.repository }}"
BEFORE:
description: "The SHA of the last pushed commit (automatically set)"
required: true
default: "${{ github.event.before }}"
SHA:
description: "The SHA of the latest commit (automatically set)"
required: true
default: "${{ github.sha }}"
TOKEN:
description: "The GitHub access token to allow us to retrieve, create and update issues (automatically set)"
required: true
default: "${{ secrets.GITHUB_TOKEN }}"
LABEL:
description: "The label that will be used to identify TODO comments (e.g. # TODO for Python)"
required: true
default: "# TODO"
COMMENT_MARKER:
description: "The marker used to signify a line comment in your code (e.g. # for Python)"
required: true
default: "#"
CLOSE_ISSUES:
description: "Optional input that specifies whether to attempt to close an issue when a TODO is removed (default: true)"
required: false
default: "true"