Skip to content

Commit 5130a4c

Browse files
authored
Update main.workflow
1 parent 1fa1e11 commit 5130a4c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/main.workflow

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
workflow "Test and build on push" {
2-
resolves = [
3-
"CI Test Runner",
4-
"Jekyll Pages Builder",
5-
]
2+
resolves = ["Jekyll Pages Builder"]
63
on = "push"
74
}
85

96
action "CI Test Runner" {
7+
needs = "checkout pull request"
108
uses = "./.github/test_runner"
119
secrets = ["GITHUB_TOKEN"]
1210
}
1311

1412
action "Jekyll Pages Builder" {
13+
needs = "CI Test Runner"
1514
uses = "./.github/pages_builder"
1615
secrets = ["GITHUB_TOKEN"]
1716
}
17+
18+
action "checkout pull request" {
19+
uses = "gr2m/git-checkout-pull-request-action@master"
20+
}

0 commit comments

Comments
 (0)