Skip to content

Commit c0306ca

Browse files
ci: Avoid running hil twice and add --no-skip to espflash flash command (#732)
1 parent 30953a7 commit c0306ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/hil.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: HIL
22

33
on:
44
pull_request:
5-
push:
5+
types: [opened, synchronize, reopened, ready_for_review]
6+
merge_group:
67
workflow_dispatch:
78
inputs:
89
repository:
@@ -13,7 +14,6 @@ on:
1314
description: "Branch, tag or SHA to checkout."
1415
required: true
1516
default: "main"
16-
merge_group:
1717

1818
env:
1919
CARGO_TERM_COLOR: always
@@ -100,7 +100,7 @@ jobs:
100100
ESPFLASH_APP: espflash/resources/apps/${{ matrix.board.mcu }}
101101
shell: bash
102102
run: |
103-
result=$(espflash_app/espflash flash ${{ env.ESPFLASH_APP }} 2>&1)
103+
result=$(espflash_app/espflash flash --no-skip ${{ env.ESPFLASH_APP }} 2>&1)
104104
echo "$result"
105105
if [[ ! $result =~ "Flashing has completed!" ]]; then
106106
exit 1

0 commit comments

Comments
 (0)