Skip to content

Commit 8764b6a

Browse files
committed
chore: update embeddings db cron to use a bot PAT to be able to commit over branch protections
1 parent 925d829 commit 8764b6a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/generate-db.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,10 @@ jobs:
4545
file_pattern: |
4646
db/devvit-docs.db
4747
fixtures/**
48+
env:
49+
GIT_AUTHOR_NAME: devvit-bot
50+
GIT_AUTHOR_EMAIL: devvit-bot@reddit.com
51+
GIT_COMMITTER_NAME: devvit-bot
52+
GIT_COMMITTER_EMAIL: devvit-bot@reddit.com
53+
# Use your PAT instead of GITHUB_TOKEN
54+
GITHUB_TOKEN: ${{ secrets.BOT_PAT }}

0 commit comments

Comments
 (0)