diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c944944d8..ea45d409c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,14 +1,9 @@ name: Gradle Build -on: - workflow_run: - workflows: ["Code Hygiene"] - types: - - completed +on: [push, pull_request] jobs: check: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/code-hygiene.yml b/.github/workflows/code-hygiene.yml deleted file mode 100644 index 73e898b1f..000000000 --- a/.github/workflows/code-hygiene.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Code Hygiene - -on: [push, pull_request, pull_request_target] -jobs: - spotless: - runs-on: ubuntu-latest - name: Spotless Check - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Spotless Check - run: ./gradlew spotlessCheck