From 6159edff47af7dad9a734e22275db4e8cec18097 Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Fri, 17 Jan 2025 20:17:19 +0900 Subject: [PATCH] use github toke n to fetch repo --- .github/workflows/lint-and-test.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 842c311d248..06228908dd5 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -299,14 +299,11 @@ jobs: - name: Install dependencies run: CI="" yarn install --frozen-lockfile - - name: Disable Git credential helper - run: git config --global credential.helper "" - - name: Remove existing SSH origin (if any) run: git remote remove origin || true - name: Add HTTPS origin - run: git remote add origin https://github.com/opencrvs/opencrvs-core.git + run: git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/opencrvs/opencrvs-core.git - name: Verify remote URL run: git remote -v