From 296f580ee22ece149253c412610f5df88094dfa5 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Tue, 16 Dec 2025 13:44:11 -0800 Subject: [PATCH] Remove checkout the PR sha from danger-pr.yml (#54904) Summary: This PR reverts a change marked unsecure by our security team ## Changelog: [Internal] - Pull Request resolved: https://github.com/facebook/react-native/pull/54904 Test Plan: N/A Reviewed By: yungsters Differential Revision: D89306739 Pulled By: cipolleschi fbshipit-source-id: 0bd994d02f5971a66a0c43e8121acc7c05a66869 --- .github/workflows/danger-pr.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/danger-pr.yml b/.github/workflows/danger-pr.yml index eecf49713b9..ce41f6f602c 100644 --- a/.github/workflows/danger-pr.yml +++ b/.github/workflows/danger-pr.yml @@ -19,8 +19,6 @@ jobs: steps: - name: Check out PR branch uses: actions/checkout@v6 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Setup Node.js uses: ./.github/actions/setup-node - name: Run yarn install