Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent builds on draft PRs #11482

Merged
merged 1 commit into from Apr 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -4,6 +4,7 @@ jobs:
linux-amd64:
name: linux-amd64
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Set up Go 1.10
uses: actions/setup-go@v1
Expand All @@ -30,9 +31,11 @@ jobs:
working-directory: src/github.com/juju/juju
run: |
GOOS=linux GOARCH=amd64 make go-install

linux-arm64:
name: linux-arm64
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Set up Go 1.10
uses: actions/setup-go@v1
Expand All @@ -59,9 +62,11 @@ jobs:
working-directory: src/github.com/juju/juju
run: |
GOOS=linux GOARCH=arm64 make go-install

linux-s390x:
name: linux-s390x
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Set up Go 1.10
uses: actions/setup-go@v1
Expand All @@ -88,9 +93,11 @@ jobs:
working-directory: src/github.com/juju/juju
run: |
GOOS=linux GOARCH=s390x make go-install

linux-ppc64le:
name: linux-ppc64le
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Set up Go 1.10
uses: actions/setup-go@v1
Expand All @@ -117,9 +124,11 @@ jobs:
working-directory: src/github.com/juju/juju
run: |
GOOS=linux GOARCH=ppc64le make go-install

windows-amd64:
name: windows-amd64
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Set up Go 1.10
uses: actions/setup-go@v1
Expand All @@ -146,9 +155,11 @@ jobs:
working-directory: src/github.com/juju/juju
run: |
GOOS=windows GOARCH=amd64 make go-install

darwin-amd64:
name: darwin-amd64
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Set up Go 1.10
uses: actions/setup-go@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/client-tests.yml
Expand Up @@ -5,6 +5,7 @@ jobs:
test-client-ubuntu:
name: "Client Tests"
runs-on: ${{ matrix.os }}
if: github.event.pull_request.draft == false
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/snap.yml
Expand Up @@ -4,6 +4,7 @@ jobs:
snap:
name: linux-amd64
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Install Dependencies
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/static-analysis.yml
Expand Up @@ -5,6 +5,7 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:

- name: Set up Go 1.12
Expand Down Expand Up @@ -69,6 +70,7 @@ jobs:
schema:
name: Schema
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:

- name: Set up Go 1.12
Expand Down