todo-to-issue-action/action.yml
2020-11-19 13:27:59 +01:00

39 lines
1.3 KiB
YAML

name: "TODO to Issue"
description: "Converts IDE TODO comments to GitHub issues"
author: "Alastair Mooney"
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "check-square"
color: "orange"
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"