From add01a5fceaaa3d1da755bb8dc4e9c18aa9c9191 Mon Sep 17 00:00:00 2001 From: Mo Date: Fri, 10 Jun 2022 19:03:52 -0500 Subject: [PATCH] chore: workflows --- .github/workflows/codeql-analysis.yml | 1 + .github/workflows/desktop.dev.yml | 1 + .github/workflows/mobile.build-dev.yml | 2 ++ .github/workflows/mobile.build-prod.yml | 2 ++ .github/workflows/mobile.e2e.yml | 1 - .github/workflows/web.beta.yml | 2 ++ .github/workflows/web.dev.yml | 3 +++ .github/workflows/web.prod.yml | 4 +++- 8 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0f8a2152a..0018df773 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,6 +22,7 @@ on: jobs: analyze: + if: contains(github.event.head_commit.message, 'chore(release)') == false name: Analyze runs-on: ubuntu-latest diff --git a/.github/workflows/desktop.dev.yml b/.github/workflows/desktop.dev.yml index fe675d8ca..aef5dde1d 100644 --- a/.github/workflows/desktop.dev.yml +++ b/.github/workflows/desktop.dev.yml @@ -13,6 +13,7 @@ on: jobs: build: + if: contains(github.event.head_commit.message, 'chore(release)') == false runs-on: ubuntu-latest defaults: run: diff --git a/.github/workflows/mobile.build-dev.yml b/.github/workflows/mobile.build-dev.yml index cb5085817..f033e1abc 100644 --- a/.github/workflows/mobile.build-dev.yml +++ b/.github/workflows/mobile.build-dev.yml @@ -10,6 +10,7 @@ on: jobs: android: + if: contains(github.event.head_commit.message, 'chore(release)') == false defaults: run: working-directory: packages/mobile @@ -50,6 +51,7 @@ jobs: name: dev.apk path: android/app/build/outputs/apk/dev/release/app-dev-release.apk ios: + if: contains(github.event.head_commit.message, 'chore(release)') == false defaults: run: working-directory: packages/mobile diff --git a/.github/workflows/mobile.build-prod.yml b/.github/workflows/mobile.build-prod.yml index 0a0087972..3f7e8d986 100644 --- a/.github/workflows/mobile.build-prod.yml +++ b/.github/workflows/mobile.build-prod.yml @@ -4,6 +4,7 @@ on: [workflow_dispatch] jobs: android: + if: contains(github.event.head_commit.message, 'chore(release)') == false defaults: run: working-directory: packages/mobile @@ -48,6 +49,7 @@ jobs: name: release.aab path: android/app/build/outputs/bundle/prodRelease/app-prod-release.aab ios: + if: contains(github.event.head_commit.message, 'chore(release)') == false defaults: run: working-directory: packages/mobile diff --git a/.github/workflows/mobile.e2e.yml b/.github/workflows/mobile.e2e.yml index e507ed70c..881cfc36f 100644 --- a/.github/workflows/mobile.e2e.yml +++ b/.github/workflows/mobile.e2e.yml @@ -2,7 +2,6 @@ name: Mobile e2e on: [workflow_dispatch] - jobs: android: defaults: diff --git a/.github/workflows/web.beta.yml b/.github/workflows/web.beta.yml index 118b2e57a..a360a0194 100644 --- a/.github/workflows/web.beta.yml +++ b/.github/workflows/web.beta.yml @@ -10,6 +10,7 @@ on: jobs: test: + if: contains(github.event.head_commit.message, 'chore(release)') == false runs-on: ubuntu-latest steps: - name: Checkout code @@ -26,6 +27,7 @@ jobs: run: yarn test deploy: + if: contains(github.event.head_commit.message, 'chore(release)') == false runs-on: ubuntu-latest needs: test diff --git a/.github/workflows/web.dev.yml b/.github/workflows/web.dev.yml index bca0334dc..0015d1785 100644 --- a/.github/workflows/web.dev.yml +++ b/.github/workflows/web.dev.yml @@ -14,6 +14,7 @@ on: jobs: test: + if: contains(github.event.head_commit.message, 'chore(release)') == false runs-on: ubuntu-latest steps: - name: Checkout code @@ -31,6 +32,7 @@ jobs: deploy: + if: contains(github.event.head_commit.message, 'chore(release)') == false runs-on: ubuntu-latest @@ -78,6 +80,7 @@ jobs: wait-for-service-stability: true notify_discord: + if: contains(github.event.head_commit.message, 'chore(release)') == false needs: deploy runs-on: ubuntu-latest diff --git a/.github/workflows/web.prod.yml b/.github/workflows/web.prod.yml index 2d53b76ab..211d6e41d 100644 --- a/.github/workflows/web.prod.yml +++ b/.github/workflows/web.prod.yml @@ -13,6 +13,7 @@ on: jobs: test: + if: contains(github.event.head_commit.message, 'chore(release)') == false runs-on: ubuntu-latest steps: - name: Checkout code @@ -29,7 +30,7 @@ jobs: run: yarn test deploy: - + if: contains(github.event.head_commit.message, 'chore(release)') == false runs-on: ubuntu-latest needs: test @@ -76,6 +77,7 @@ jobs: wait-for-service-stability: true notify_discord: + if: contains(github.event.head_commit.message, 'chore(release)') == false needs: deploy runs-on: ubuntu-latest