Skip to content

Commit 7dcdcdc

Browse files
committed
ci: Only run wokwi simualtions from esp-rs
1 parent 05fefc4 commit 7dcdcdc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
run: /bin/bash /home/esp/workspace/.devcontainer/test.sh ${{ matrix.project.path }}
7171

7272
- name: Wokwi CI check
73-
if: matrix.project.name == 'button-interrupt' || matrix.project.name == 'http-client' || matrix.project.name == 'hardware-check'
73+
if: (matrix.project.name == 'button-interrupt' || matrix.project.name == 'http-client' || matrix.project.name == 'hardware-check') && github.actor == 'esp-rs'
7474
uses: wokwi/wokwi-ci-action@v1
7575
with:
7676
token: ${{ secrets.WOKWI_CLI_TOKEN }}

.github/workflows/wokwi_projects.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
jobs:
1616
wokwi-check:
1717
name: ${{ matrix.project.name }}
18+
if: github.actor == 'esp-rs'
1819
runs-on: ubuntu-latest
1920
strategy:
2021
fail-fast: false

0 commit comments

Comments
 (0)