From ec5c2fbfe69113c38e95b1d7509a03482cf2b69a Mon Sep 17 00:00:00 2001 From: jonaslagoni Date: Mon, 23 Nov 2020 15:42:19 +0100 Subject: [PATCH 1/3] Disabled any testing on draft PR --- .github/workflows/pull-request-testing.yml | 1 + .github/workflows/sentiment-analysis.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/pull-request-testing.yml b/.github/workflows/pull-request-testing.yml index 75185d900..4cff6c92a 100644 --- a/.github/workflows/pull-request-testing.yml +++ b/.github/workflows/pull-request-testing.yml @@ -6,6 +6,7 @@ on: jobs: release: + if: github.event.pull_request.draft == false name: 'Run tests' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/sentiment-analysis.yml b/.github/workflows/sentiment-analysis.yml index ac5c945ff..5bebd026c 100644 --- a/.github/workflows/sentiment-analysis.yml +++ b/.github/workflows/sentiment-analysis.yml @@ -23,6 +23,7 @@ on: - edited jobs: test: + if: github.event.pull_request.draft == false name: Checking sentiments runs-on: ubuntu-latest steps: From 4ccf3fd8b912faa56200929db4ebf9cfe8344255 Mon Sep 17 00:00:00 2001 From: jonaslagoni Date: Mon, 23 Nov 2020 15:54:08 +0100 Subject: [PATCH 2/3] Removed check from sentiment-analysis workflow --- .github/workflows/sentiment-analysis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/sentiment-analysis.yml b/.github/workflows/sentiment-analysis.yml index 5bebd026c..ac5c945ff 100644 --- a/.github/workflows/sentiment-analysis.yml +++ b/.github/workflows/sentiment-analysis.yml @@ -23,7 +23,6 @@ on: - edited jobs: test: - if: github.event.pull_request.draft == false name: Checking sentiments runs-on: ubuntu-latest steps: From 0eccf066dc168d48708b0436f94c41dcc0b8afd3 Mon Sep 17 00:00:00 2001 From: jonaslagoni Date: Mon, 23 Nov 2020 15:57:58 +0100 Subject: [PATCH 3/3] Added ready_for_review type action --- .github/workflows/pull-request-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-testing.yml b/.github/workflows/pull-request-testing.yml index 4cff6c92a..a11cf832f 100644 --- a/.github/workflows/pull-request-testing.yml +++ b/.github/workflows/pull-request-testing.yml @@ -2,7 +2,7 @@ name: Pull request testing on: pull_request: - types: [opened, reopened, synchronize] + types: [opened, reopened, synchronize, ready_for_review] jobs: release: