From 7c39594b7e0ff279bea3f9723766e5cdf34cae2e Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Tue, 19 Oct 2021 09:45:38 -0700 Subject: [PATCH] README: add daily schedule to example --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b4170a2..396cba0 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ An example GitHub Action workflow using this action would look like the followin ```yaml name: update-flake-lock on: - workflow_dispatch: + workflow_dispatch: # allows manual triggering + schedule: + - cron: '0 0 * * *' # runs daily at 00:00 jobs: lockfile: @@ -23,4 +25,3 @@ jobs: uses: DeterminateSystems/update-flake-lock@main ``` -To have this workflow run on a recurring basis, see the [GitHub Actions documentation on the `schedule` key](https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule).