Skip to content

Commit

Permalink
chore: skip upload APK on PRs
Browse files Browse the repository at this point in the history
Pull requests doesn't have permission to upload to APK branch.
So Badge Magic CI should skip this step for PRs.
  • Loading branch information
kienvo committed May 11, 2024
1 parent bb06ae1 commit 2e1d35f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/branch-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
path: android/build/outputs/bundle/release

- name: Upload APK to apk branch
# Skip upload APK for pull requests
if: ${{ github.event_name != 'pull_request'}}
run: |
git config --global user.name "${{ github.workflow }}"
git config --global user.email "gh-actions@${{ github.repository_owner }}"
Expand Down

0 comments on commit 2e1d35f

Please sign in to comment.