Skip to content

Commit ba1ffa8

Browse files
committed
build on top of head's environment
1 parent d7b7242 commit ba1ffa8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci.cue

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ ci: {
112112

113113
// https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#webhook-payload-object-33
114114
#isNotDraft: pull_request.draft == false
115+
#thisCommit: pull_request.head.sha
115116

116117
// shared defaults for all steps
117118
#step: {
@@ -120,7 +121,7 @@ ci: {
120121
memory: 9000
121122
term_timeout: 60 * 60 * 3
122123
kill_timeout: term_timeout + 30
123-
flakes: "github:input-output-hk/mantis": [
124+
flakes: "github:input-output-hk/mantis/\(#thisCommit)": [
124125
"sbt",
125126
"coreutils",
126127
"gnused",

0 commit comments

Comments
 (0)