diff --git a/.github/workflows/sync-release-to-pg.yml b/.github/workflows/sync-release-to-pg.yml index a962d28c9e2..e4cc227b29e 100644 --- a/.github/workflows/sync-release-to-pg.yml +++ b/.github/workflows/sync-release-to-pg.yml @@ -51,13 +51,13 @@ jobs: if: env.MERGE_CONFLICT == 'false' run: | set -e - git push origin pg || echo "PUSH_FAILURE=true" >> $GITHUB_ENV + git push https://${{ secrets.PAT_GITHUB }}@github.com/${{ github.repository }} HEAD:pg || echo "PUSH_FAILURE=true" >> $GITHUB_ENV - name: Capture push failure message if: env.PUSH_FAILURE == 'true' run: | # Capture the last git error message - push_error_message=$(git push origin pg 2>&1 | tail -n 1) + push_error_message=$(git push https://${{ secrets.PAT_GITHUB }}@github.com/${{ github.repository }} HEAD:pg 2>&1 | tail -n 1) echo "PUSH_ERROR_MESSAGE=$push_error_message" >> $GITHUB_ENV - name: Notify on push failure diff --git a/app/client/packages/design-system/ads/src/Documentation/components/CodeBlock.tsx b/app/client/packages/design-system/ads/src/Documentation/components/CodeBlock.tsx index 320d52cda9b..8672d0f3266 100644 --- a/app/client/packages/design-system/ads/src/Documentation/components/CodeBlock.tsx +++ b/app/client/packages/design-system/ads/src/Documentation/components/CodeBlock.tsx @@ -16,7 +16,7 @@ function CodeBlock({ code }: CodeBlockProps) { }} > {code} -