Type object
File match **/.github/stale.yml
Schema URL https://catalog.lintel.tools/schemas/github/stale/latest.json
Source https://www.schemastore.org/stale.json

Validate with Lintel

npx @lintel/lintel check
Type: object

A GitHub app that closes abandoned issues and pull requests

Properties

pulls
12 nested properties
daysUntilStale number

Number of days of inactivity before an Issue or Pull Request becomes stale.

Default: 60
daysUntilClose integer | boolean

Number of days of inactivity before an Issue or Pull Request with the stale label is closed.

Default: 7
onlyLabels string[]

Only issues or pull requests with all of these labels are check if stale.

Default:
[]
exemptLabels string[]

Issues or Pull Requests with these labels will never be considered stale.

Default:
[]
exemptProjects boolean

Set to true to ignore issues in a milestone.

Default: false
exemptAssignees boolean

Set to true to ignore issues with an assignee.

Default: false
staleLabel string

Label to use when marking as stale.

Default: "wontfix"
markComment string | boolean

Comment to post when marking as stale.

Default: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
unmarkComment string | boolean

Comment to post when removing the stale label.

closeComment string | boolean

Comment to post when closing a stale issue or pull request.

limitPerRun number

Limit the number of actions per hour.

Default: 30
min=1max=30
only enum

Limit to only issues or pulls requests.

Values: "issues" "pulls"
issues
12 nested properties
daysUntilStale number

Number of days of inactivity before an Issue or Pull Request becomes stale.

Default: 60
daysUntilClose integer | boolean

Number of days of inactivity before an Issue or Pull Request with the stale label is closed.

Default: 7
onlyLabels string[]

Only issues or pull requests with all of these labels are check if stale.

Default:
[]
exemptLabels string[]

Issues or Pull Requests with these labels will never be considered stale.

Default:
[]
exemptProjects boolean

Set to true to ignore issues in a milestone.

Default: false
exemptAssignees boolean

Set to true to ignore issues with an assignee.

Default: false
staleLabel string

Label to use when marking as stale.

Default: "wontfix"
markComment string | boolean

Comment to post when marking as stale.

Default: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
unmarkComment string | boolean

Comment to post when removing the stale label.

closeComment string | boolean

Comment to post when closing a stale issue or pull request.

limitPerRun number

Limit the number of actions per hour.

Default: 30
min=1max=30
only enum

Limit to only issues or pulls requests.

Values: "issues" "pulls"

Definitions

configuration
daysUntilStale number

Number of days of inactivity before an Issue or Pull Request becomes stale.

Default: 60
daysUntilClose integer | boolean

Number of days of inactivity before an Issue or Pull Request with the stale label is closed.

Default: 7
onlyLabels string[]

Only issues or pull requests with all of these labels are check if stale.

Default:
[]
exemptLabels string[]

Issues or Pull Requests with these labels will never be considered stale.

Default:
[]
exemptProjects boolean

Set to true to ignore issues in a milestone.

Default: false
exemptAssignees boolean

Set to true to ignore issues with an assignee.

Default: false
staleLabel string

Label to use when marking as stale.

Default: "wontfix"
markComment string | boolean

Comment to post when marking as stale.

Default: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
unmarkComment string | boolean

Comment to post when removing the stale label.

closeComment string | boolean

Comment to post when closing a stale issue or pull request.

limitPerRun number

Limit the number of actions per hour.

Default: 30
min=1max=30
only enum

Limit to only issues or pulls requests.

Values: "issues" "pulls"