Skip to content

Commit

Permalink
fix: set new tag in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertk committed Apr 17, 2020
1 parent c9d557d commit af0b243
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,19 @@ Add the following step to your workflow.

```yaml
name: "Close stale issues"
uses: aws-actions/stale-issue-cleanup@v1
uses: aws-actions/stale-issue-cleanup@v2
with:
stale-issue-message: Stale issue message
stale-pr-message: Stale issue message
ancient-issue-message: Stale issue message

stale-issue-label: closing-soon
exempt-issue-label: awaiting-approval
stale-pr-label: no-pr-activity
exempt-pr-label: awaiting-approval
response-requested-label: response-requested
closed-for-staleness-label: closed-for-staleness

days-before-stale: 4,
days-before-close: 7,
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -29,13 +33,12 @@ with:
**NOTE:** For stability, you should use the action with either an
explicit tag, or commit SHA:
`uses = "aws-actions/stale-issue-cleanup@v1"`
`uses: aws-actions/stale-issue-cleanup@v2`

See [sample_workflow.yml](./sample_workflow.yml) for a comprehensive list
of options and their descriptions.
Check out [sample_workflow.yml](./sample_workflow.yml) for a complete
example.

## License Summary

This code is made available under the Apache-2.0 license.
See [LICENSE](./LICENSE).

2 changes: 1 addition & 1 deletion sample_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
name: Stale issue job
steps:
- uses: aws-actions/stale-issue-cleanup@v1
- uses: aws-actions/stale-issue-cleanup@v2
with:
# Setting messages to an empty string will cause the automation to skip
# that category
Expand Down

0 comments on commit af0b243

Please sign in to comment.