diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7fa8967..62eeb94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,11 +33,13 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 2 - token: ${{ secrets.BOT_ACCESS_TOKEN }} - name: Configure Git + env: + GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }} run: | git config --local user.name tiktokbot git config --local user.email tiktokbot@users.noreply.github.com + git config --global credential.helper '!f() { echo "protocol=https\nhost=github.com" ; echo "username=oauth_token" ; echo "password=${GITHUB_TOKEN}" ; }; f' - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} diff --git a/build-tests/sparo-real-repo-test/src/start-test.ts b/build-tests/sparo-real-repo-test/src/start-test.ts index fc7d6af..0dfe9bb 100644 --- a/build-tests/sparo-real-repo-test/src/start-test.ts +++ b/build-tests/sparo-real-repo-test/src/start-test.ts @@ -20,7 +20,10 @@ export async function runAsync(runScriptOptions: IRunScriptOptions): Promise