Skip to content

Commit

Permalink
feat: increase default interval from 5s to 10s (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-challis authored May 2, 2024
1 parent 81df647 commit a2ae61f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
|------------|----------------------------------------------------------------------------------------------------------------------------------------|----------|-------------------------------------------------------------|
| `token` | GitHub token to use to interact with the GitHub API, unless you have rate limit concerns this should be `${{ secrets.GITHUB_TOKEN }}`. | Yes | |
| `ref` | Git reference to inspect check runs for. The default supports Pull Requests, Merge Queues as well as branch pushes. | No | `${{ github.event.pull_request.head.sha \|\| github.sha }}` |
| `interval` | The number of seconds in between polls of the GitHub API for check run conclusions. | No | `5` |
| `interval` | The number of seconds in between polls of the GitHub API for check run conclusions. | No | `10` |
| `timeout` | The number of seconds before the job is declared a failure if check runs have not yet concluded. | No | `600` |
| `name` | The name of Sloth's own check run. This is used to ensure Sloth does not wait upon itself. | No | `"sloth"` |
| `ignored` | A multi-line list of check run names to ignore when determining an overall result. | No | `""` |
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ inputs:
required: false
default: ${{ github.event.pull_request.head.sha || github.sha }}
interval:
description: "Interval in seconds between check of checks (default 5)"
description: "Interval in seconds between check of checks"
required: false
default: "5"
default: "10"
timeout:
description: "The number of seconds before the job is declared a failure if check runs have not yet concluded."
required: false
Expand Down

0 comments on commit a2ae61f

Please sign in to comment.