Skip to content

Commit b54e068

Browse files
committed
gh token auth
1 parent 5fb2d43 commit b54e068

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/process_docs_changes.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ jobs:
8484
# echo "htmlproofer spit out a report of length: $(cat htmlproofer.out | wc -l)"
8585
# bb script/analyze_links.clj --htmlproofer-output htmlproofer.out
8686

87+
- name: Authenticate Git with GITHUB_TOKEN
88+
run: |
89+
git config --global user.name "Metabase Docs bot"
90+
git config --global user.email "metabase-bot@metabase.com"
91+
git remote set-url origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/metabase/docs.metabase.github.io.git"
92+
8793
- name: Create the pull request
8894
env:
8995
GH_TOKEN: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}

0 commit comments

Comments
 (0)