Skip to content

Commit 9f3fa69

Browse files
author
robot
committed
feat: schedule only
1 parent b67bc31 commit 9f3fa69

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: .github/workflows/generate.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: generate data automatically
22
on:
3-
push:
3+
# push:
44
# Run workflow automatically
55
schedule:
66
# Runs every hour

Diff for: .github/workflows/schedule.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: daily
22
on:
33
# Run workflow automatically
4-
push:
4+
# push:
55
schedule:
66
# Runs every hour
77
- cron: "0 * * * *"

Diff for: middleware/mockUserInfo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = ({ whitelist = [] }) =>
44
ctx.session = {};
55
}
66
ctx.session.user = {
7-
login: "shmilywh",
7+
login: "lilyzhaoyilu",
88
// login: "shuo0314",
99
// login: "azl397985856",
1010
avatar_url: "https://avatars.githubusercontent.com/u/12479470?v=4",

0 commit comments

Comments
 (0)