You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2026/07/22 14:49:40 UTC

(mynewt-nimble) branch master updated: ci: Fix workflow check action

This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a0b7c238 ci: Fix workflow check action
8a0b7c238 is described below

commit 8a0b7c238167a645894a135e9ffa10c94e987127
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Wed Jul 22 16:18:13 2026 +0200

    ci: Fix workflow check action
    
    Github started blocking PR code checkouts on pull_request_target.
    However, since this action only compares PR code and not actually
    run any code from there it is safe to bypass this restriction.
---
 .github/workflows/check_workflows.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/check_workflows.yml b/.github/workflows/check_workflows.yml
index 1d9f6e90b..1b0caa7fe 100644
--- a/.github/workflows/check_workflows.yml
+++ b/.github/workflows/check_workflows.yml
@@ -42,6 +42,8 @@ jobs:
         with:
           ref: ${{ github.event.pull_request.head.sha }}
           path: pr_branch
+          allow-unsafe-pr-checkout: true
+          persist-credentials: false
 
       - name: Check for label override
         id: label_check