Skip to content

Commit cb138a8

Browse files
authored
fix: use GITHUB_ACTOR in git config (#7)
1 parent e440c07 commit cb138a8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/directory_workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
- uses: actions/setup-python@v2
1111
- name: Setup Git Specs
1212
run: |
13-
git config --global user.name github-actions
14-
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
13+
git config --global user.name "$GITHUB_ACTOR"
14+
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
1515
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
1616
- name: Update DIRECTORY.md
1717
shell: python

0 commit comments

Comments
 (0)