Add most recent action

This commit is contained in:
Danny McCormick
2019-08-06 16:25:08 -04:00
parent fa4fd2aed4
commit dc7133054e
82 changed files with 1919 additions and 1030 deletions

View File

@@ -2,26 +2,28 @@ name: 'Close Stale Issues'
description: 'Action to close stale issues'
author: 'GitHub'
inputs:
stale_age_days:
repo-token:
description: 'Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
required: true
stale-issue-message:
description: 'The message to post on the issue when tagging it. If none provided, will not mark iusses stale.'
stale-pr-message:
description: 'The message to post on the pr when tagging it. If none provided, will not mark prs stale.'
days-before-stale:
description: 'The number of days old an issue can be before marking it stale'
default: 60
wait_after_stale_days:
description: 'The number of days to wait to close an issue after it being marked stale'
days-before-close:
description: 'The number of days to wait to close an issue or pr after it being marked stale'
default: 7
max_operations_per_run:
stale-issue-label:
description: 'The label to apply when an issue is stale'
default: 'Stale'
stale-pr-label:
description: 'The label to apply when a pr is stale'
default: 'Stale'
operations-per-run:
description: 'The maximum number of operations per run, used to control rate limiting'
default: 30
stale_label:
description: 'The label to apply when an item is stale'
default: 'Stale'
stale_message:
description: 'The message to post on the issue when tagging it'
default: >
Message goes here.
#This issue has not had any activity within the past ${{inputs.stale_age_days}} days. It will be
#closed in ${{wait_after_stale_days}} days if there is no more activity.
GITHUB_TOKEN:
description: 'The PAT for the identity to use to access to issues and to post messages'
runs:
using: 'node12'
main: 'lib/main.js'
main: 'lib/main.js'