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 3333 rust : [ stable, beta ]
3434 runs-on : ${{ matrix.os }}
3535 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') )
3737 steps :
3838 - uses : actions/checkout@v2
3939 - uses : actions-rs/toolchain@v1
4949 lint :
5050 runs-on : ubuntu-latest
5151 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')
5353 steps :
5454 - uses : actions/checkout@v2
5555 - uses : actions-rs/toolchain@v1
You can’t perform that action at this time.
0 commit comments