2019-08-03 21:34:59 -04:00
name : 'Close Stale Issues'
2019-11-08 16:47:32 +00:00
description : 'Close issues and pull requests with no recent activity'
2019-08-03 21:34:59 -04:00
author : 'GitHub'
inputs :
2019-08-06 16:25:08 -04:00
repo-token :
2020-04-14 11:43:56 +02:00
description : 'Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.'
2021-01-18 02:22:36 +01:00
required : false
2021-01-15 21:07:08 +09:00
default : ${{ github.token }}
2019-08-06 16:25:08 -04:00
stale-issue-message :
2019-08-19 19:34:16 +01:00
description : 'The message to post on the issue when tagging it. If none provided, will not mark issues stale.'
2021-01-16 14:28:29 +01:00
required : false
2019-08-06 16:25:08 -04:00
stale-pr-message :
2021-02-16 12:18:48 +01:00
description : 'The message to post on the pull request when tagging it. If none provided, will not mark pull requests stale.'
2021-01-16 14:28:29 +01:00
required : false
2020-07-13 18:05:59 +01:00
close-issue-message :
description : 'The message to post on the issue when closing it. If none provided, will not comment when closing an issue.'
2021-01-16 14:28:29 +01:00
required : false
2020-07-13 18:05:59 +01:00
close-pr-message :
2021-02-16 12:18:48 +01:00
description : 'The message to post on the pull request when closing it. If none provided, will not comment when closing a pull requests.'
2021-01-16 14:28:29 +01:00
required : false
2019-08-06 16:25:08 -04:00
days-before-stale :
2021-01-16 14:28:29 +01:00
description : 'The number of days old an issue or a pull request can be before marking it stale. Set to -1 to never mark issues or pull requests as stale automatically.'
required : false
default : '60'
days-before-issue-stale :
2021-01-19 11:54:16 +01:00
description : 'The number of days old an issue can be before marking it stale. Set to -1 to never mark issues as stale automatically. Override "days-before-stale" option regarding only the issues.'
2021-01-16 14:28:29 +01:00
required : false
days-before-pr-stale :
2021-01-19 11:54:16 +01:00
description : 'The number of days old a pull request can be before marking it stale. Set to -1 to never mark pull requests as stale automatically. Override "days-before-stale" option regarding only the pull requests.'
2021-01-16 14:28:29 +01:00
required : false
2019-08-06 16:25:08 -04:00
days-before-close :
2021-01-16 14:28:29 +01:00
description : 'The number of days to wait to close an issue or a pull request after it being marked stale. Set to -1 to never close stale issues or pull requests.'
required : false
default : '7'
days-before-issue-close :
2021-01-19 11:54:16 +01:00
description : 'The number of days to wait to close an issue after it being marked stale. Set to -1 to never close stale issues. Override "days-before-close" option regarding only the issues.'
2021-01-16 14:28:29 +01:00
required : false
days-before-pr-close :
2021-01-19 11:54:16 +01:00
description : 'The number of days to wait to close a pull request after it being marked stale. Set to -1 to never close stale pull requests. Override "days-before-close" option regarding only the pull requests.'
2021-01-16 14:28:29 +01:00
required : false
2019-08-06 16:25:08 -04:00
stale-issue-label :
2020-04-14 11:43:56 +02:00
description : 'The label to apply when an issue is stale.'
2021-01-16 14:28:29 +01:00
required : false
2019-08-06 16:25:08 -04:00
default : 'Stale'
2020-09-08 21:32:42 +02:00
close-issue-label :
description : 'The label to apply when an issue is closed.'
2021-01-16 14:28:29 +01:00
required : false
2020-04-15 21:33:09 -04:00
exempt-issue-labels :
2021-03-04 12:38:05 +01:00
description : 'The labels that mean an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2").'
2020-04-15 21:33:09 -04:00
default : ''
2021-01-16 14:28:29 +01:00
required : false
2019-08-06 16:25:08 -04:00
stale-pr-label :
2020-04-14 11:43:56 +02:00
description : 'The label to apply when a pull request is stale.'
2019-08-06 16:25:08 -04:00
default : 'Stale'
2021-01-16 14:28:29 +01:00
required : false
2020-09-08 21:32:42 +02:00
close-pr-label :
description : 'The label to apply when a pull request is closed.'
2021-01-16 14:28:29 +01:00
required : false
2020-04-15 21:33:09 -04:00
exempt-pr-labels :
2021-03-04 12:38:05 +01:00
description : 'The labels that mean a pull request is exempt from being marked as stale. Separate multiple labels with commas (eg. "label1,label2").'
2020-04-15 21:33:09 -04:00
default : ''
2021-01-16 14:28:29 +01:00
required : false
2021-01-19 11:54:16 +01:00
exempt-issue-milestones :
2021-10-08 19:48:38 +02:00
description : 'The milestones that mean an issue is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2").'
2021-01-19 11:54:16 +01:00
default : ''
required : false
exempt-pr-milestones :
2021-10-08 19:48:38 +02:00
description : 'The milestones that mean a pull request is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2").'
2021-02-16 12:18:48 +01:00
default : ''
required : false
exempt-all-issue-milestones :
2021-10-08 19:19:07 +02:00
description : 'Exempt all issues with milestones from being marked as stale. Default to false.'
default : 'false'
2021-02-16 12:18:48 +01:00
required : false
exempt-all-pr-milestones :
2021-10-08 19:19:07 +02:00
description : 'Exempt all pull requests with milestones from being marked as stale. Default to false.'
default : 'false'
2021-01-19 11:54:16 +01:00
required : false
2021-04-28 22:33:42 +02:00
any-of-issue-labels :
2021-10-08 20:26:58 +02:00
description : 'Only issues with all of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels.'
2021-04-28 22:33:42 +02:00
default : ''
required : false
any-of-pr-labels :
2021-10-08 20:26:58 +02:00
description : 'Only pull requests with all of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels.'
2021-04-28 22:33:42 +02:00
default : ''
required : false
2021-03-01 01:08:33 +01:00
only-issue-labels :
description : 'Only issues with all of these labels are checked if stale. Defaults to `[]` (disabled) and can be a comma-separated list of labels. Override "only-labels" option regarding only the issues.'
default : ''
required : false
only-pr-labels :
description : 'Only pull requests with all of these labels are checked if stale. Defaults to `[]` (disabled) and can be a comma-separated list of labels. Override "only-labels" option regarding only the pull requests.'
default : ''
required : false
2019-08-06 16:25:08 -04:00
operations-per-run :
2021-01-18 02:22:36 +01:00
description : 'The maximum number of operations per run, used to control rate limiting (GitHub API CRUD related).'
2021-01-16 14:28:29 +01:00
default : '30'
required : false
2020-05-11 10:46:03 -04:00
remove-stale-when-updated :
2021-06-15 23:16:31 +02:00
description : 'Remove stale labels from issues and pull requests when they are updated or commented on.'
2021-04-30 15:14:51 +02:00
default : 'true'
required : false
remove-issue-stale-when-updated :
2021-06-15 23:16:31 +02:00
description : 'Remove stale labels from issues when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the issues.'
2021-05-25 19:25:52 +02:00
default : ''
2021-04-30 15:14:51 +02:00
required : false
remove-pr-stale-when-updated :
2021-06-15 23:16:31 +02:00
description : 'Remove stale labels from pull requests when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the pull requests.'
2021-05-25 19:25:52 +02:00
default : ''
2021-01-16 14:28:29 +01:00
required : false
2020-04-16 13:57:59 -04:00
debug-only :
description : 'Run the processor in debug mode without actually performing any operations on live issues.'
2021-01-16 14:28:29 +01:00
default : 'false'
required : false
2020-06-23 10:55:24 -07:00
ascending :
2021-03-04 12:38:05 +01:00
description : 'The order to get issues or pull requests. Defaults to false, which is descending.'
2021-01-16 14:28:29 +01:00
default : 'false'
required : false
2021-01-15 11:49:38 +00:00
delete-branch :
description : 'Delete the git branch after closing a stale pull request.'
2021-01-16 14:28:29 +01:00
default : 'false'
required : false
2021-01-18 02:22:36 +01:00
start-date :
2021-02-16 12:18:48 +01:00
description : 'The date used to skip the stale action on issue/pull request created before it (ISO 8601 or RFC 2822).'
2021-01-18 02:22:36 +01:00
default : ''
required : false
2021-02-28 12:15:08 +01:00
exempt-issue-assignees :
2021-10-08 19:06:51 +02:00
description : 'The assignees which exempt an issue from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2").'
2021-02-28 12:15:08 +01:00
default : ''
required : false
exempt-pr-assignees :
2021-10-08 19:06:51 +02:00
description : 'The assignees which exempt a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2").'
2021-02-28 12:15:08 +01:00
default : ''
required : false
exempt-all-issue-assignees :
2021-10-08 18:50:37 +02:00
description : 'Exempt all issues with assignees from being marked as stale. Default to false.'
default : 'false'
2021-02-28 12:15:08 +01:00
required : false
exempt-all-pr-assignees :
2021-10-08 18:50:37 +02:00
description : 'Exempt all pull requests with assignees from being marked as stale. Default to false.'
default : 'false'
2021-02-28 12:15:08 +01:00
required : false
2021-09-20 15:37:32 +02:00
exempt-draft-pr :
description : 'Exempt draft pull requests from being marked as stale. Default to false.'
default : 'false'
required : false
2021-03-01 21:34:35 +01:00
enable-statistics :
description : 'Display some statistics at the end regarding the stale workflow (only when the logs are enabled).'
default : 'true'
required : false
2021-09-14 17:13:17 +03:00
labels-to-add-when-unstale :
description : 'A comma delimited list of labels to add when a stale issue or pull request receives activity and has the stale-issue-label or stale-pr-label removed from it.'
default : ''
required : false
labels-to-remove-when-unstale :
description : 'A comma delimited list of labels to remove when a stale issue or pull request receives activity and has the stale-issue-label or stale-pr-label removed from it.'
default : ''
required : false
2021-09-17 15:54:38 +02:00
ignore-issue-updates :
2021-10-08 18:06:39 +02:00
description : 'Any update (update/comment) can reset the stale idle time on the issues.'
default : 'false'
2021-09-17 15:54:38 +02:00
required : false
ignore-pr-updates :
2021-10-08 18:06:39 +02:00
description : 'Any update (update/comment) can reset the stale idle time on the pull requests.'
default : 'false'
2021-09-17 15:54:38 +02:00
required : false
2021-06-03 15:18:48 +02:00
outputs :
closed-issues-prs :
description : 'List of all closed issues and pull requests.'
staled-issues-prs :
description : 'List of all staled issues and pull requests.'
2019-08-03 21:34:59 -04:00
runs :
using : 'node12'
2020-04-14 14:02:29 -04:00
main : 'dist/index.js'