File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 54
54
repo: context.repo.repo,
55
55
body: "Running extended tests..."
56
56
})
57
+
57
58
# Check crate compiles and base cargo check passes
58
59
linux-build-lib :
59
60
name : linux build test
65
66
(github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.comment.body == 'run extended tests')
66
67
steps :
67
68
- uses : actions/checkout@v4
69
+ with :
70
+ # Check out the pull request branch if triggered by a comment
71
+ ref : ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request.head.ref || github.ref }}
72
+ submodules : true
73
+ fetch-depth : 1
68
74
- name : Setup Rust toolchain
69
75
uses : ./.github/actions/setup-builder
70
76
with :
85
91
steps :
86
92
- uses : actions/checkout@v4
87
93
with :
94
+ # Check out the pull request branch if triggered by a comment
95
+ ref : ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request.head.ref || github.ref }}
88
96
submodules : true
89
97
fetch-depth : 1
90
98
- name : Setup Rust toolchain
@@ -108,6 +116,8 @@ jobs:
108
116
steps :
109
117
- uses : actions/checkout@v4
110
118
with :
119
+ # Check out the pull request branch if triggered by a comment
120
+ ref : ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request.head.ref || github.ref }}
111
121
submodules : true
112
122
fetch-depth : 1
113
123
- name : Setup Rust toolchain
@@ -130,6 +140,8 @@ jobs:
130
140
steps :
131
141
- uses : actions/checkout@v4
132
142
with :
143
+ # Check out the pull request branch if triggered by a comment
144
+ ref : ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request.head.ref || github.ref }}
133
145
submodules : true
134
146
fetch-depth : 1
135
147
- name : Setup Rust toolchain
You can’t perform that action at this time.
0 commit comments