skip ci in commit message condition check (#3902)

* skip ci condition check

* always Validate Gradle Wrapper

* naming workflow jobs
This commit is contained in:
Aakash Singh 2020-10-09 06:54:14 +05:30 committed by GitHub
parent e637f22540
commit 6aea0f48ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: Build check name: CI
on: on:
push: push:
branches: branches:
@ -7,7 +7,8 @@ on:
pull_request: pull_request:
jobs: jobs:
build: check_wrapper:
name: Validate Gradle Wrapper
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -17,6 +18,16 @@ jobs:
- name: Validate Gradle Wrapper - name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1 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 - name: Set up JDK 1.8
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with: