Skip to content

Commit a9b11c6

Browse files
cipolleschimeta-codesync[bot]
authored andcommitted
Checkout reporistory with the right token (#54557)
Summary: Pull Request resolved: #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
1 parent d52b9d2 commit a9b11c6

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/bump-podfile-lock.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v4
1212
with:
13+
token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }}
1314
fetch-depth: 0
1415
fetch-tags: true
1516
- name: Install dependencies

.github/workflows/create-draft-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- name: Checkout repository
2020
uses: actions/checkout@v4
2121
with:
22+
token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }}
2223
fetch-depth: 0
2324
fetch-tags: true
2425
- name: Install dependencies

.github/workflows/generate-changelog.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
- name: Checkout repository
1111
uses: actions/checkout@v4
1212
with:
13+
token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }}
1314
fetch-depth: 0
1415
fetch-tags: true
1516
- name: Install dependencies

0 commit comments

Comments
 (0)