mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
Don't run workflow in draft prs
This commit is contained in:
3
.github/workflows/rust.yml
vendored
3
.github/workflows/rust.yml
vendored
@@ -11,6 +11,7 @@ env:
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
@@ -26,7 +27,7 @@ jobs:
|
||||
|
||||
check-format:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: install rustfmt
|
||||
|
||||
Reference in New Issue
Block a user