Skip to content

Commit

Permalink
use github toke n to fetch repo
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Jan 17, 2025
1 parent 458232b commit 6159edf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6159edf

Please sign in to comment.