Remove checkout branch from CI

This commit is contained in:
alefvanoon 2022-02-08 13:31:35 +00:00 committed by GitHub
parent bb896eb2fe
commit 7c4e40e49f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,16 +3,12 @@ name: CI
on: on:
workflow_dispatch: workflow_dispatch:
pull_request: pull_request:
branches:
- master
paths-ignore: paths-ignore:
- 'README*.md' - 'README*.md'
- 'fastlane/**' - 'fastlane/**'
- 'assets/**' - 'assets/**'
- '.github/**/*.md' - '.github/**/*.md'
push: push:
branches:
- master
paths-ignore: paths-ignore:
- 'README*.md' - 'README*.md'
- 'fastlane/**' - 'fastlane/**'
@ -26,11 +22,6 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1 - uses: gradle/wrapper-validation-action@v1
- name: create and checkout branch
# push events already checked out the branch
if: github.event_name == 'pull_request'
run: git checkout -B ${{ github.head_ref }}
- name: set up JDK 11 - name: set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with: