mirror of
https://github.com/actions/stale.git
synced 2025-12-28 11:08:18 +00:00
Compare commits
1 Commits
add-syntax
...
ethomson/u
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6c1b70646 |
@@ -7,7 +7,7 @@ Warns and then closes issues and PRs that have had no activity for a specified a
|
|||||||
See [action.yml](./action.yml) For comprehensive list of options.
|
See [action.yml](./action.yml) For comprehensive list of options.
|
||||||
|
|
||||||
Basic:
|
Basic:
|
||||||
```yaml
|
```
|
||||||
name: "Close stale issues"
|
name: "Close stale issues"
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Configure stale timeouts:
|
Configure stale timeouts:
|
||||||
```yaml
|
```
|
||||||
name: "Close stale issues"
|
name: "Close stale issues"
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Configure labels:
|
Configure labels:
|
||||||
```yaml
|
```
|
||||||
name: "Close stale issues"
|
name: "Close stale issues"
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
name: 'Close Stale Issues'
|
name: 'Close Stale Issues'
|
||||||
description: 'Action to close stale issues'
|
description: 'Close issues and pull requests with no recent activity'
|
||||||
author: 'GitHub'
|
author: 'GitHub'
|
||||||
inputs:
|
inputs:
|
||||||
repo-token:
|
repo-token:
|
||||||
description: 'Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
|
description: 'Token for the repository. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
|
||||||
required: true
|
required: true
|
||||||
stale-issue-message:
|
stale-issue-message:
|
||||||
description: 'The message to post on the issue when tagging it. If none provided, will not mark issues stale.'
|
description: 'The message to post on the issue when tagging it. If none provided, will not mark issues stale.'
|
||||||
|
|||||||
Reference in New Issue
Block a user