From a9b11c678fd8eaf2ba0ae91905176f3d4300847c Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Mon, 17 Nov 2025 05:09:52 -0800 Subject: [PATCH] Checkout reporistory with the right token (#54557) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54557 When running a release, we are observing failures due to the Meta CLA check failings for commits pushed by our own CI. The secrets are inherited by the jobs, but we observed that the repository is not checked out with the right token. This change should fix that. ## Changelog: [Internal] - Reviewed By: cortinico Differential Revision: D87218058 fbshipit-source-id: 8955719ab26e568215f64841fd8d9526c4837f8f --- .github/workflows/bump-podfile-lock.yml | 1 + .github/workflows/create-draft-release.yml | 1 + .github/workflows/generate-changelog.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/bump-podfile-lock.yml b/.github/workflows/bump-podfile-lock.yml index 8bd70421f27..8e9c5e5418d 100644 --- a/.github/workflows/bump-podfile-lock.yml +++ b/.github/workflows/bump-podfile-lock.yml @@ -10,6 +10,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: + token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }} fetch-depth: 0 fetch-tags: true - name: Install dependencies diff --git a/.github/workflows/create-draft-release.yml b/.github/workflows/create-draft-release.yml index 9ddb724b893..f8ba43e76a9 100644 --- a/.github/workflows/create-draft-release.yml +++ b/.github/workflows/create-draft-release.yml @@ -19,6 +19,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: + token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }} fetch-depth: 0 fetch-tags: true - name: Install dependencies diff --git a/.github/workflows/generate-changelog.yml b/.github/workflows/generate-changelog.yml index 9734ebd6417..22acba48934 100644 --- a/.github/workflows/generate-changelog.yml +++ b/.github/workflows/generate-changelog.yml @@ -10,6 +10,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: + token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }} fetch-depth: 0 fetch-tags: true - name: Install dependencies