From 6aea0f48ed439ef321f7ce84e3092f6904408ce9 Mon Sep 17 00:00:00 2001 From: Aakash Singh <46787056+sainAk@users.noreply.github.com> Date: Fri, 9 Oct 2020 06:54:14 +0530 Subject: [PATCH] skip ci in commit message condition check (#3902) * skip ci condition check * always Validate Gradle Wrapper * naming workflow jobs --- .github/workflows/build_check.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml index 4a07f286a0..bc647387fb 100644 --- a/.github/workflows/build_check.yml +++ b/.github/workflows/build_check.yml @@ -1,4 +1,4 @@ -name: Build check +name: CI on: push: branches: @@ -7,7 +7,8 @@ on: pull_request: jobs: - build: + check_wrapper: + name: Validate Gradle Wrapper runs-on: ubuntu-latest steps: @@ -17,6 +18,16 @@ jobs: - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 + build: + name: Build app + needs: check_wrapper + if: "!startsWith(github.event.head_commit.message, '[SKIP CI]')" + runs-on: ubuntu-latest + + steps: + - name: Clone repo + uses: actions/checkout@v2 + - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: