diff --git a/.github/workflows/docker-bench-security.yml b/.github/workflows/docker-bench-security.yml index 3b5211f668..588c454187 100644 --- a/.github/workflows/docker-bench-security.yml +++ b/.github/workflows/docker-bench-security.yml @@ -3,12 +3,14 @@ name: Docker Bench for Security on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read jobs: build: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest timeout-minutes: 10 diff --git a/.github/workflows/dockerization.yml b/.github/workflows/dockerization.yml index 07e41c95b7..81d29f5f2a 100644 --- a/.github/workflows/dockerization.yml +++ b/.github/workflows/dockerization.yml @@ -4,12 +4,14 @@ name: Dockerization on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read jobs: build: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest timeout-minutes: 10 diff --git a/.github/workflows/double_ws_export.yml b/.github/workflows/double_ws_export.yml index 5f614cb720..bf9fe50965 100644 --- a/.github/workflows/double_ws_export.yml +++ b/.github/workflows/double_ws_export.yml @@ -6,6 +6,7 @@ name: Double workspace export on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read @@ -16,6 +17,7 @@ env: jobs: build: + if: github.event.pull_request.draft == false runs-on: 'ubuntu-latest' steps: diff --git a/.github/workflows/experimental_workflow_tests.yml b/.github/workflows/experimental_workflow_tests.yml index ab217cc6a5..ab039e5e52 100644 --- a/.github/workflows/experimental_workflow_tests.yml +++ b/.github/workflows/experimental_workflow_tests.yml @@ -5,13 +5,14 @@ on: branches: [ develop ] pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read jobs: build: - if: contains(github.event.pull_request.labels.*.name, 'workflow_interface') + if: (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'workflow_interface')) runs-on: ubuntu-latest steps: diff --git a/.github/workflows/gandlf.yml b/.github/workflows/gandlf.yml index ff90a39c63..8a63492aa9 100644 --- a/.github/workflows/gandlf.yml +++ b/.github/workflows/gandlf.yml @@ -6,6 +6,7 @@ name: GaNDLF TaskRunner on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read @@ -16,7 +17,7 @@ env: jobs: build: - + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: diff --git a/.github/workflows/hadolint.yml b/.github/workflows/hadolint.yml index aebc58fcca..265c457c43 100644 --- a/.github/workflows/hadolint.yml +++ b/.github/workflows/hadolint.yml @@ -6,13 +6,14 @@ name: Hadolint Security Scan on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read jobs: build: - + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: diff --git a/.github/workflows/interactive-kvasir.yml b/.github/workflows/interactive-kvasir.yml index 830da7abc5..93ff09126c 100644 --- a/.github/workflows/interactive-kvasir.yml +++ b/.github/workflows/interactive-kvasir.yml @@ -6,13 +6,14 @@ name: Interactive API - Pytorch Kvasir UNet on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read jobs: build: - + if: github.event.pull_request.draft == false strategy: matrix: os: ['ubuntu-latest', 'windows-latest'] diff --git a/.github/workflows/interactive-tensorflow.yml b/.github/workflows/interactive-tensorflow.yml index 4958ca139b..110ee1b175 100644 --- a/.github/workflows/interactive-tensorflow.yml +++ b/.github/workflows/interactive-tensorflow.yml @@ -6,12 +6,14 @@ name: Interactive API - Tensorflow MNIST on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read jobs: build: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest # Add Windows support after https://github.com/keras-team/keras/issues/16308 is merged steps: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1c7f9fe4aa..57e33ab9d2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,12 +6,14 @@ name: Check code format on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read jobs: build: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest diff --git a/.github/workflows/pki.yml b/.github/workflows/pki.yml index 20471ef650..7d4f90df5c 100644 --- a/.github/workflows/pki.yml +++ b/.github/workflows/pki.yml @@ -6,6 +6,7 @@ name: Private Key Infrastructure on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read @@ -16,7 +17,7 @@ env: jobs: test_insecure_client: - + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: diff --git a/.github/workflows/pytest_coverage.yml b/.github/workflows/pytest_coverage.yml index 6d50288ca8..f0543b62d1 100644 --- a/.github/workflows/pytest_coverage.yml +++ b/.github/workflows/pytest_coverage.yml @@ -6,6 +6,7 @@ name: Pytest and code coverage on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] workflow_dispatch: permissions: @@ -17,7 +18,7 @@ env: jobs: build: - + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: diff --git a/.github/workflows/straggler-handling.yml b/.github/workflows/straggler-handling.yml index 9eead301db..dfb463104e 100644 --- a/.github/workflows/straggler-handling.yml +++ b/.github/workflows/straggler-handling.yml @@ -6,6 +6,7 @@ name: Straggler Handling Test on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read @@ -16,6 +17,7 @@ env: jobs: build: + if: github.event.pull_request.draft == false strategy: matrix: os: ['ubuntu-latest', 'windows-latest'] diff --git a/.github/workflows/taskrunner.yml b/.github/workflows/taskrunner.yml index ea172e0732..1ae8a5af8b 100644 --- a/.github/workflows/taskrunner.yml +++ b/.github/workflows/taskrunner.yml @@ -6,6 +6,7 @@ name: TaskRunner on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read @@ -16,6 +17,7 @@ env: jobs: build: + if: github.event.pull_request.draft == false strategy: matrix: os: ['ubuntu-latest', 'windows-latest'] diff --git a/.github/workflows/taskrunner_eden_pipeline.yml b/.github/workflows/taskrunner_eden_pipeline.yml index cc35747ca5..e103fcf2aa 100644 --- a/.github/workflows/taskrunner_eden_pipeline.yml +++ b/.github/workflows/taskrunner_eden_pipeline.yml @@ -5,14 +5,15 @@ name: TaskRunner (Eden Compression) on: pull_request: - branches: [ develop ] + branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] permissions: contents: read jobs: build: - if: contains(github.event.pull_request.labels.*.name, 'eden_compression') + if: (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'eden_compression')) strategy: matrix: os: ['ubuntu-latest', 'windows-latest'] diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 40e3cafbfd..0ef7e20e8c 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -3,8 +3,11 @@ on: push: branches: [ develop ] pull_request: + branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] jobs: build: + if: github.event.pull_request.draft == false permissions: contents: read # for actions/checkout to fetch code security-events: write # for github/codeql-action/upload-sarif to upload SARIF results diff --git a/.github/workflows/workflow_interface_101_mnist.yml b/.github/workflows/workflow_interface_101_mnist.yml index 1f2c75c95a..a980d1088d 100644 --- a/.github/workflows/workflow_interface_101_mnist.yml +++ b/.github/workflows/workflow_interface_101_mnist.yml @@ -7,6 +7,7 @@ name: Workflow Interface 101 MNIST Notebook on: pull_request: branches: [ develop ] + types: [opened, synchronize, reopened, ready_for_review] workflow_dispatch: @@ -15,6 +16,7 @@ permissions: jobs: run_notebook: + if: github.event.pull_request.draft == false runs-on: ubuntu-22.04 steps: - name: Checkout OpenFL repository