Merge pull request #11179 from padelsbach/membrowse-fork-pr-checkout

Fix membrowse workflow on forks
pull/11207/head
philljj 2026-08-18 15:51:18 -05:00 committed by GitHub
commit 83091f3ff0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -40,12 +40,15 @@ jobs:
# Check out the commit the Zephyr workflow actually built so Membrowse
# attributes the report to the right commit. Only the last 2 commits
# are needed (current + parent) to resolve the base for comparison.
# Set allow-unsafe-pr-checkout to allow the workflow to run on a PR from
# a fork. This was added in actions/checkout@v5.1.0.
- name: Checkout repository
uses: actions/checkout@v5
with:
ref: ${{ github.event.workflow_run.head_sha }}
fetch-depth: 2
persist-credentials: false
allow-unsafe-pr-checkout: true
- name: Download Zephyr build artifact
id: download