File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ name: Coverage
22
33on :
44 push :
5- pull_request :
5+ pull_request_target :
6+ branches :
7+ - develop
68
79env :
810 CARGO_TERM_COLOR : always
@@ -36,10 +38,18 @@ jobs:
3638 RUSTDOCFLAGS : " -Z profile -C codegen-units=1 -C inline-threshold=0 -C link-dead-code -C overflow-checks=off -C panic=abort -Z panic_abort_tests"
3739
3840 steps :
39- - id : checkout
40- name : Checkout Repository
41+ - id : checkout_push
42+ if : github.event_name == 'push'
43+ name : Checkout Repository (Push)
4144 uses : actions/checkout@v4
4245
46+ - id : checkout_pull_request
47+ if : github.event_name == 'pull_request'
48+ name : Checkout Repository (Pull Request)
49+ uses : actions/checkout@v4
50+ with :
51+ ref : " refs/pull/${{ github.event.pull_request.number }}/head"
52+
4353 - id : setup
4454 name : Setup Toolchain
4555 uses : dtolnay/rust-toolchain@stable
You can’t perform that action at this time.
0 commit comments