From 9eb2729cdd65c87b765121df424bb31d17d5f951 Mon Sep 17 00:00:00 2001 From: Rukh-Khan Date: Fri, 10 Jan 2025 18:07:12 +0530 Subject: [PATCH] #2970: autoGen-talawa-admin-docs-debugging --- .github/workflows/pull-request.yml | 2 +- docs/docusaurus.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 911ebbca4a..6bba566754 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -524,7 +524,7 @@ jobs: run: | git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.event.pull_request.head.repo.full_name }}.git + git remote set-url origin "https://${{ github.actor }}:${GITHUB_TOKEN}@github.com/${{ github.event.pull_request.head.repo.full_name }}.git" git fetch origin ${{ github.event.pull_request.head.ref }} git checkout ${{ github.event.pull_request.head.ref }} git add docs/docs/auto-docs/ diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 2622ca65b9..a3c7563c64 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -16,7 +16,7 @@ const config: Config = { organizationName: 'PalisadoesFoundation', // GitHub org projectName: 'talawa-admin', // repo name - onBrokenLinks: 'throw', + onBrokenLinks: 'warn', onBrokenMarkdownLinks: 'warn', // Even if you don't use internationalization, you can use this field to set