From 61f09b36f4bd9bc2de60c0c105be6fa65c4af89b Mon Sep 17 00:00:00 2001 From: Sujal Date: Thu, 20 Feb 2025 22:19:30 +0530 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 8e003ad42..daf24a607 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,10 +1,10 @@ -name: Android CI Build +name: Android CI -on: [push, pull_request, workflow_dispatch] +on: [push, pull_request, workflow_dispatch] -permissions: - contents: write - actions: write +permissions: + contents: read + actions: read concurrency: group: build-${{ github.event.pull_request.number || github.ref }} @@ -35,7 +35,6 @@ jobs: restore-keys: gradle-packages-${{ runner.os }} - name: Access test login credentials - if: github.event_name != 'pull_request' || github.repository == github.event.pull_request.head.repo.full_name run: | echo "TEST_USER_NAME=${{ secrets.TEST_USER_NAME }}" >> local.properties echo "TEST_USER_PASSWORD=${{ secrets.TEST_USER_PASSWORD }}" >> local.properties