Skip to content

Commit b89a7e8

Browse files
committed
Prevent PRs running test-examples twice, and give it a name
1 parent b637421 commit b89a7e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ jobs:
7373
picotool info -a flash_nuke.uf2
7474
7575
test-examples:
76+
# Prevent running twice for PRs from same repo
77+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
78+
name: Test Build Examples
7679
runs-on: ubuntu-latest
7780
steps:
7881
- name: Checkout

0 commit comments

Comments
 (0)