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

chore(repo): Proposal: Don't run actions on draft PR's #1015

Merged
merged 1 commit into from
Mar 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/stream_flutter_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
jobs:
analyze:
timeout-minutes: 15
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: "Git Checkout"
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:

format:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
timeout-minutes: 15
steps:
- name: "Git Checkout"
Expand Down Expand Up @@ -73,6 +75,7 @@ jobs:

test:
runs-on: macos-latest
if: github.event.pull_request.draft == false
timeout-minutes: 20
steps:
- name: "Git Checkout"
Expand Down Expand Up @@ -123,3 +126,12 @@ jobs:
with:
path: packages/stream_chat_flutter/coverage/lcov.info
min_coverage: 67

draft-build:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == true
timeout-minutes: 1

steps:
- name: Run a one-line script
run: echo Draft PR, you are good.