From adeda5d7988abb55cc338dff994543e06ca4e542 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 14 Apr 2026 08:50:30 +0000 Subject: CI: run on claude/** branches; skip Firebase deploy on non-main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds claude/** to push triggers so CI runs on every feature branch push — enabling check-run inspection via GitHub API without requiring a manual main push first. Firebase distribution is already gated on refs/heads/main; adding the event_name check ensures it also won't fire on PRs from main. https://claude.ai/code/session_01HXPjBsogsJVRwCiekDGkJX --- .github/workflows/android.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/android.yml') diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 33f7912..67df657 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -2,7 +2,7 @@ name: Android CI/CD on: push: - branches: [ main ] + branches: [ main, claude/** ] pull_request: branches: [ main ] @@ -37,7 +37,7 @@ jobs: android-app/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk - name: upload artifact to Firebase App Distribution - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' && github.event_name == 'push' uses: wzieba/Firebase-Distribution-Github-Action@v1 with: appId: ${{secrets.FIREBASE_APP_ID}} -- cgit v1.2.3