Skip to content

Commit e09221a

Browse files
committed
chore: Add pullRequest to ci.on
1 parent 6d167e1 commit e09221a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import { Workflow } from "ghats";
22
import { setupJob } from "./_helpers";
33

44
const workflow = new Workflow("CI", {
5-
on: "push",
5+
on: {
6+
pullRequest: { branches: ["main"] },
7+
push: { branches: ["main"] },
8+
},
69
permissions: {},
710
});
811

0 commit comments

Comments
 (0)