diff --git a/action.yml b/action.yml index dc89843..28f2d07 100644 --- a/action.yml +++ b/action.yml @@ -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"