File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 5454 repo: context.repo.repo,
5555 body: "Running extended tests..."
5656 })
57+
5758 # Check crate compiles and base cargo check passes
5859 linux-build-lib :
5960 name : linux build test
6566 (github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.comment.body == 'run extended tests')
6667 steps :
6768 - 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
6874 - name : Setup Rust toolchain
6975 uses : ./.github/actions/setup-builder
7076 with :
8591 steps :
8692 - uses : actions/checkout@v4
8793 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 }}
8896 submodules : true
8997 fetch-depth : 1
9098 - name : Setup Rust toolchain
@@ -108,6 +116,8 @@ jobs:
108116 steps :
109117 - uses : actions/checkout@v4
110118 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 }}
111121 submodules : true
112122 fetch-depth : 1
113123 - name : Setup Rust toolchain
@@ -130,6 +140,8 @@ jobs:
130140 steps :
131141 - uses : actions/checkout@v4
132142 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 }}
133145 submodules : true
134146 fetch-depth : 1
135147 - name : Setup Rust toolchain
You can’t perform that action at this time.
0 commit comments