Skip to content

Commit 447dc6c

Browse files
authored
Don't run Android device tests on forked PRs
Differential Revision: D61501018 Pull Request resolved: #4783
1 parent 187bd05 commit 447dc6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/android.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ jobs:
147147

148148
# Let's see how expensive this job is, we might want to tone it down by running it periodically
149149
test-llama-app:
150+
# Only PR from ExecuTorch itself has permission to access AWS, forked PRs will fail to
151+
# authenticate with the cloud service
152+
if: ${{ !github.event.pull_request.head.repo.fork }}
150153
needs: upload-artifacts
151154
permissions:
152155
id-token: write

0 commit comments

Comments
 (0)