From 7959fd767367bef5ca058ba89fd571bfabe3bbc2 Mon Sep 17 00:00:00 2001 From: pcheremu Date: Thu, 2 May 2024 14:11:37 +0200 Subject: [PATCH] test: skip in draft --- .github/workflows/api-e2e.yml | 1 + .github/workflows/app-deploy-feature-branch.yml | 2 ++ .github/workflows/app-deploy-preview.yml | 2 ++ .github/workflows/app-deploy-prod.yml | 1 + .github/workflows/nodejs-license.yaml | 2 ++ .github/workflows/release.yml | 1 + .github/workflows/validate-pr.yml | 2 ++ 7 files changed, 11 insertions(+) diff --git a/.github/workflows/api-e2e.yml b/.github/workflows/api-e2e.yml index 7879184d36..5060ad966a 100644 --- a/.github/workflows/api-e2e.yml +++ b/.github/workflows/api-e2e.yml @@ -10,6 +10,7 @@ on: jobs: runE2ETests: + if: github.event.pull_request.draft == false name: Run E2E tests timeout-minutes: 10 runs-on: ubuntu-latest diff --git a/.github/workflows/app-deploy-feature-branch.yml b/.github/workflows/app-deploy-feature-branch.yml index e7bc4fca09..17f143ba18 100644 --- a/.github/workflows/app-deploy-feature-branch.yml +++ b/.github/workflows/app-deploy-feature-branch.yml @@ -3,6 +3,7 @@ on: pull_request jobs: build: + if: github.event.pull_request.draft == false name: Build and Test App runs-on: ubuntu-latest permissions: @@ -65,6 +66,7 @@ jobs: entryPoint: ./packages/app mainnet: + if: github.event.pull_request.draft == false needs: build name: Feature on Mainnet + Sepolia uses: ./.github/workflows/app-e2e.yml diff --git a/.github/workflows/app-deploy-preview.yml b/.github/workflows/app-deploy-preview.yml index b2208e0662..2ca53b2a4e 100644 --- a/.github/workflows/app-deploy-preview.yml +++ b/.github/workflows/app-deploy-preview.yml @@ -9,6 +9,7 @@ name: Deploy App to Preview default: "v2.0.0" jobs: deploy: + if: github.event.pull_request.draft == false name: Deploy runs-on: ubuntu-latest permissions: @@ -62,6 +63,7 @@ jobs: echo "Block explorer app has been deployed to: ${{ steps.deploy.outputs.details_url }}" mainnet: + if: github.event.pull_request.draft == false needs: deploy name: Staging on Mainnet + Sepolia uses: ./.github/workflows/app-e2e.yml diff --git a/.github/workflows/app-deploy-prod.yml b/.github/workflows/app-deploy-prod.yml index acf3fed16a..e67487c2d4 100644 --- a/.github/workflows/app-deploy-prod.yml +++ b/.github/workflows/app-deploy-prod.yml @@ -9,6 +9,7 @@ name: Deploy App to Production default: "v2.0.0" jobs: deploy: + if: github.event.pull_request.draft == false name: Deploy runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/nodejs-license.yaml b/.github/workflows/nodejs-license.yaml index eabec348eb..030e9adf9d 100644 --- a/.github/workflows/nodejs-license.yaml +++ b/.github/workflows/nodejs-license.yaml @@ -29,6 +29,7 @@ env: jobs: generate-matrix: + if: github.event.pull_request.draft == false name: Lists modules runs-on: ubuntu-latest permissions: @@ -43,6 +44,7 @@ jobs: id: set-matrix license-check: + if: github.event.pull_request.draft == false needs: [generate-matrix] runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8415c96558..adf675d497 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ on: jobs: createReleaseVersion: + if: github.event.pull_request.draft == false name: Create Release Version runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index a837a4a49e..9da5f8112a 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -10,6 +10,7 @@ on: jobs: label: + if: github.event.pull_request.draft == false name: Validate PR title runs-on: ubuntu-latest permissions: @@ -22,6 +23,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} build: + if: github.event.pull_request.draft == false name: Build and Test runs-on: ubuntu-latest permissions: