Skip to content

Commit

Permalink
author change?
Browse files Browse the repository at this point in the history
  • Loading branch information
SX-9 committed Feb 12, 2025
1 parent 9184877 commit 3687a8b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:
- name: Clone database repository
run: |
git clone https://github.com/partofmyid/database.git db
cd db
git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com'
git config --global user.name ${{ secrets.GH_COMMIT_USER }}
git config --global user.email ${{ secrets.GH_COMMIT_EMAIL }}
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

- name: Download database artifact
uses: actions/download-artifact@v4
Expand All @@ -55,7 +56,7 @@ jobs:
mv artifact/database.json db/database.json -f
cd db
git add database.json
git commit -m 'Update database.json'
git commit -m '[automated] update database.json'
git push
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

0 comments on commit 3687a8b

Please sign in to comment.