From 5494aeb78bb0124b3d368f6c66bf9ab1fc069927 Mon Sep 17 00:00:00 2001 From: Paul Adelsbach Date: Fri, 14 Aug 2026 13:19:13 -0700 Subject: [PATCH] Fix membrowse workflow on forks --- .github/workflows/membrowse-zephyr.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/membrowse-zephyr.yml b/.github/workflows/membrowse-zephyr.yml index 84e3bd4ff7a..4ac244c617e 100644 --- a/.github/workflows/membrowse-zephyr.yml +++ b/.github/workflows/membrowse-zephyr.yml @@ -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