From 842581b17e23a910c001935b55eda48032c058ca Mon Sep 17 00:00:00 2001 From: Dani-Koza-AF Date: Wed, 23 Oct 2024 11:55:41 +0300 Subject: [PATCH] another try to use PAT properly --- .github/workflows/create-release-branch-workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-release-branch-workflow.yml b/.github/workflows/create-release-branch-workflow.yml index ca1ced0..74bef12 100644 --- a/.github/workflows/create-release-branch-workflow.yml +++ b/.github/workflows/create-release-branch-workflow.yml @@ -34,9 +34,7 @@ jobs: git config --global user.name $COMMIT_AUTHOR git config --global user.email $COMMIT_EMAIL git config --global credential.helper store - git credential approve <<< "url=https://github.com - username=x-access-token - password=$MY_PERSONAL_ACCESS_TOKEN" + git credential approve <<< $'url=https://github.com\nusername=x-access-token\npassword=$MY_PERSONAL_ACCESS_TOKEN' - name: Create New Branch id: createBranch @@ -51,6 +49,8 @@ jobs: git checkout -b $branchName - name: Update Codebase + env: + GITHUB_TOKEN: ${{ secrets.CI_DEV_GITHUB_TOKEN }} run: | .github/workflows/scripts/updatePlugin.sh pluginVersion=${{ inputs.versionName }} buildNumber=${{ github.run_number }} iOSVersion=${{ inputs.iosVersion }} androidVersion=${{ inputs.AndroidVersion }} git commit -m "update versions using CI"