Refactor action.yml to remove quotes from default values for inputs, ensuring proper YAML syntax. This change enhances clarity and consistency in the action's configuration.

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2025-05-27 12:58:34 +03:00
parent a3adffe07c
commit 3a8525d1d7
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -11,7 +11,7 @@ inputs:
REPO: REPO:
description: "The path to the repository where the action will be used, e.g. 'alstr/my-repo' (automatically set)" description: "The path to the repository where the action will be used, e.g. 'alstr/my-repo' (automatically set)"
required: false required: false
default: '${{ github.repository }}' default: ${{ github.repository }}
BEFORE: BEFORE:
description: 'The SHA of the last pushed commit (automatically set)' description: 'The SHA of the last pushed commit (automatically set)'
required: false required: false
@ -27,22 +27,22 @@ inputs:
SHA: SHA:
description: 'The SHA of the latest commit (automatically set)' description: 'The SHA of the latest commit (automatically set)'
required: false required: false
default: '${{ github.sha }}' default: ${{ github.sha }}
TOKEN: TOKEN:
description: 'The GitHub access token to allow us to retrieve, create and update issues (automatically set)' description: 'The GitHub access token to allow us to retrieve, create and update issues (automatically set)'
required: false required: false
default: '${{ github.token }}' default: ${{ github.token }}
TARGET_REPO: TARGET_REPO:
description: "Optional target repository to create issues in (e.g. 'owner/repo'). If not provided, issues will be created in the current repository." description: "Optional target repository to create issues in (e.g. 'owner/repo'). If not provided, issues will be created in the current repository."
required: false required: false
CLOSE_ISSUES: CLOSE_ISSUES:
description: 'Optional input specifying whether to attempt to close an issue when a TODO is removed' description: 'Optional input specifying whether to attempt to close an issue when a TODO is removed'
required: false required: false
default: 'true' default: true
AUTO_P: AUTO_P:
description: 'For multiline TODOs, format each line as a new paragraph when creating the issue' description: 'For multiline TODOs, format each line as a new paragraph when creating the issue'
required: false required: false
default: 'true' default: true
PROJECT: PROJECT:
description: "User or organization project to link issues to, format 'project_type/owner/project_name'" description: "User or organization project to link issues to, format 'project_type/owner/project_name'"
required: false required: false
@ -55,7 +55,7 @@ inputs:
AUTO_ASSIGN: AUTO_ASSIGN:
description: 'Automatically assign new issues to the user who triggered the action' description: 'Automatically assign new issues to the user who triggered the action'
required: false required: false
default: 'false' default: false
ACTOR: ACTOR:
description: 'The username of the person who triggered the action (automatically set)' description: 'The username of the person who triggered the action (automatically set)'
required: false required: false
@ -77,15 +77,15 @@ inputs:
ESCAPE: ESCAPE:
description: 'Escape all special Markdown characters' description: 'Escape all special Markdown characters'
required: false required: false
default: 'true' default: true
LANGUAGES: LANGUAGES:
description: 'A collection of comma-delimited URLs or local paths for custom language files' description: 'A collection of comma-delimited URLs or local paths for custom language files'
required: false required: false
NO_STANDARD: NO_STANDARD:
description: "Exclude loading the default 'syntax.json' and 'languages.yml' files from the repository" description: "Exclude loading the default 'syntax.json' and 'languages.yml' files from the repository"
required: false required: false
default: 'false' default: false
INSERT_ISSUE_URLS: INSERT_ISSUE_URLS:
description: 'Whether the action should insert the URL for a newly-created issue into the associated TODO comment' description: 'Whether the action should insert the URL for a newly-created issue into the associated TODO comment'
required: false required: false
default: 'false' default: false