From f7d9cdd6468a74be8899cbb8b634b460a25a2dfa Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Fri, 22 Jan 2021 11:18:14 -0600 Subject: [PATCH] Update GitHub actions * Don't run check_license for PRs * Only run lint for release builds --- .github/workflows/check_license.yml | 2 -- .github/workflows/lint.yml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/check_license.yml b/.github/workflows/check_license.yml index 90ddc3c6e..3d6cc12ec 100644 --- a/.github/workflows/check_license.yml +++ b/.github/workflows/check_license.yml @@ -6,8 +6,6 @@ name: Check licenses on: push: branches: [ main ] - pull_request: - branches: [ main ] jobs: build: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3e4e05700..f4a3bd8d2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,4 +20,4 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew lint + run: ./gradlew :app:lintGenericRelease :app:lintGoogleplayRelease