Skip to content

Commit 95abce7

Browse files
authored
feat: support workflow_dispatch event (#6)
1 parent 4a395dc commit 95abce7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ name: Update README
2020
on:
2121
schedule:
2222
- cron: '*/30 * * * *'
23+
workflow_dispatch:
2324

2425
jobs:
2526
build:

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12646,7 +12646,7 @@ Toolkit.run(
1264612646
tools.exit.success("Updated ");
1264712647
},
1264812648
{
12649-
event: "schedule",
12649+
event: ["schedule", "workflow_dispatch"],
1265012650
secrets: ["GITHUB_TOKEN"],
1265112651
}
1265212652
);

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Toolkit.run(
176176
tools.exit.success("Updated ");
177177
},
178178
{
179-
event: "schedule",
179+
event: ["schedule", "workflow_dispatch"],
180180
secrets: ["GITHUB_TOKEN"],
181181
}
182182
);

0 commit comments

Comments
 (0)