-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
... | ||
``` |