From 8db60e4e3e9aade618faf1f390c67e6894feabb4 Mon Sep 17 00:00:00 2001 From: Xikaro <0regon.end@gmail.com> Date: Tue, 30 Apr 2024 16:19:55 +0500 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c87b30c31..a28bb782b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,8 +97,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4.1.1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - name: Replace strings shell: bash @@ -112,7 +110,7 @@ jobs: git submodule init cd mods git config user.name Xikaro - git config password ${{ secrets.GITHUB_TOKEN }} + git config password ${{ secrets.USER_TOKEN_XIKARO }} git submodule update --recursive - name: Export MMC @@ -142,16 +140,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4.1.1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - submodules: true - name: Download Mods run: | git submodule init cd mods - git config user.name github-actions - git config user.email github-actions@github.com + git config user.name Xikaro + git config password ${{ secrets.USER_TOKEN_XIKARO }} git submodule update --recursive - name: Replace strings