action.yml
name: 'Suggest Related Links Action'
description: 'A GitHub Action to suggest related or similar issues, documents, and links. Based on the power of NLP and fastText.'
author: 'peaceiris'
runs:
using: 'node12'
main: 'actions/dist/index.js'
branding:
icon: 'link'
color: 'orange'
inputs:
github_token:
description: 'Set a generated GITHUB_TOKEN for posting a comment.'
default: ${{ github.token }}
required: false
mode:
description: 'Set a save or suggest'
default: 'save'
required: false
language:
description: 'Set a target language.'
default: 'en'
required: false
threshold:
description: 'Set a relevance threshold.'
default: '0.7'
required: false
max_links:
description: 'Set a maximum number of related links that are suggested.'
default: '3'
required: false
repository:
description: 'Set a repository name of issue source. (e.g. peaceiris/actions-gh-pages)'
default: ${{ github.repository }}
required: false
custom_training_data:
description: 'Set paths to JSON files including custom training data.'
default: ''
required: false
train_issues:
description: 'Set this to true to train issue data.'
default: 'true'
required: false
unclickable:
description: 'Set true to post unclickable links.'
default: 'false'
required: false
outputs:
json_path:
description: 'A path to a JSON file that contains results.'