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