From 528097709aeef434b0d85565bfd89a4a9ff5644e Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Tue, 18 Jun 2024 18:27:47 +0100 Subject: [PATCH] [LOCAL][RN][Release] Use github bot token to commit the tag --- .github/actions/create-release/action.yml | 5 ----- .github/workflows/create-release.yml | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/actions/create-release/action.yml b/.github/actions/create-release/action.yml index 8c941cb2686..10fbceee8bf 100644 --- a/.github/actions/create-release/action.yml +++ b/.github/actions/create-release/action.yml @@ -17,11 +17,6 @@ runs: - name: Yarn install shell: bash run: yarn install --non-interactive - - name: Configure Git - shell: bash - run: | - git config --local user.email "bot@reactnative.dev" - git config --local user.name "React Native Bot" - name: Creating release commit shell: bash run: | diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 7b58ae21e39..0e2142b8781 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -18,11 +18,13 @@ on: default: false jobs: - prepare_release: + create_release: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4.1.1 + with: + token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }} - name: Check if on stable branch id: check_stable_branch run: |