We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75d6bf3 commit ad7e456Copy full SHA for ad7e456
README.md
@@ -7,17 +7,18 @@
7
Minimal workflow example
8
9
```yml
10
-name: Update REST API endpoint methods
+Name: Nightly update
11
on:
12
- repository_dispatch:
13
- types: [octokit-routes-release]
+ schedule:
+ # https://crontab.guru/every-night-at-midnight
14
+ - cron: "0 0 * * *"
15
16
jobs:
17
update_routes:
18
runs-on: ubuntu-latest
19
steps:
20
- uses: actions/checkout@master
- - run: "date > test.txt" # create or update a test.txt file
21
+ - run: "date > datetime.txt" # create or update a test.txt file
22
- uses: gr2m/create-or-update-pull-request-action@v1
23
env:
24
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments