Skip to content

Commit d336aea

Browse files
authored
ci: reverting android emulator action digest (#1031)
<!-- CURSOR_SUMMARY --> > [!NOTE] > Tweaks Detox CI to preserve large packages and updates the android-emulator-runner digest while disabling Renovate updates for that action. > > - **CI / GitHub Actions**: > - `react-native-detox.yml`: Set `jlumbroso/free-disk-space` input `large-packages: false` to keep required system packages. > - `reactivecircus/android-emulator-runner`: Update pinned digest (v2) in Detox test step. > - **Renovate**: > - Add rule to disable updates for `reactivecircus/android-emulator-runner` in `github-actions` (datasource `github-tags`). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 9d8bec2. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent d3a2f2c commit d336aea

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/react-native-detox.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ jobs:
7676
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
7777
with:
7878
android: false # We need android.
79+
large-packages: false # Need this for packages that emulator depends on (specifically libx11-xcb1)
7980

8081
- name: Detox test
81-
uses: reactivecircus/android-emulator-runner@b530d96654c385303d652368551fb075bc2f0b6b # v2
82+
uses: reactivecircus/android-emulator-runner@f0d1ed2dcad93c7479e8b2f2226c83af54494915 # v2
8283
with:
8384
api-level: 31
8485
arch: x86_64

renovate.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
"enabled": false,
66
"matchDatasources": ["npm"],
77
"matchPackageNames": ["*"]
8+
},
9+
{
10+
"description": "Disable all updates for the android emulator runner action",
11+
"matchPackageNames": ["reactivecircus/android-emulator-runner"],
12+
"matchDepTypes": ["action"],
13+
"matchDatasources": ["github-tags"],
14+
"matchManagers": ["github-actions"],
15+
"enabled": false
816
}
917
],
1018
"vulnerabilityAlerts": {

0 commit comments

Comments
 (0)