Skip to content

Commit

Permalink
📝 Added inputs to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lukecarr authored Aug 7, 2023
1 parent 4f0e186 commit b663abd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,22 @@ jobs:
```

In the above example, we declare the `check` job which runs this action. The `nightly` job will then subsequently run **if** no changes have been made to the repository in the past 24 hours.

### Custom duration

If you want to look for changes within a duration different to the default (24 hours), you can configure the `within` input parameter in the action:

```yml
...

jobs:
check:
runs-on: ubuntu-latest
steps:
- id: nightly-check
name: Check for changes in last two days
uses: lukecarr/[email protected]
with:
within: 48 hrs
...
```

0 comments on commit b663abd

Please sign in to comment.