summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-04-14 08:50:30 +0000
committerClaude <noreply@anthropic.com>2026-04-14 08:51:50 +0000
commitadeda5d7988abb55cc338dff994543e06ca4e542 (patch)
tree0fb28336601fe51e7b43d4c0db42fbce93d9bc2e
parentae7f55c9abb14a5ad36a0710f476e3bf88d2ec9d (diff)
CI: run on claude/** branches; skip Firebase deploy on non-main
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
-rw-r--r--.github/workflows/android.yml4
1 files changed, 2 insertions, 2 deletions
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}}