File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33
33
rust : [ stable, beta ]
34
34
runs-on : ${{ matrix.os }}
35
35
timeout-minutes : 5
36
- if : github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && ! endsWith(github.ref , '-nightly')
36
+ if : github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && (github.event_name != 'pull_request' || ! endsWith(github.head_ref , '-nightly') )
37
37
steps :
38
38
- uses : actions/checkout@v2
39
39
- uses : actions-rs/toolchain@v1
49
49
lint :
50
50
runs-on : ubuntu-latest
51
51
timeout-minutes : 5
52
- if : github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && ! endsWith(github.ref , '-nightly') && !contains(github.ref, 'refs/tags/v')
52
+ if : github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && (github.event_name != 'pull_request' || ! endsWith(github.head_ref , '-nightly') ) && !contains(github.ref, 'refs/tags/v')
53
53
steps :
54
54
- uses : actions/checkout@v2
55
55
- uses : actions-rs/toolchain@v1
You can’t perform that action at this time.
0 commit comments