Skip to content

Commit

Permalink
Merge pull request #220 from vil02/properly_evaluate_GITHUB_ACTOR
Browse files Browse the repository at this point in the history
fix: use `GITHUB_ACTOR` in `git config`
  • Loading branch information
vzvu3k6k authored Jan 17, 2024
2 parents a26e5a4 + e4a887c commit 6075b3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_directory_md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
- name: Update DIRECTORY.md
run: |
cat DIRECTORY.md
git config --global user.name github-actions
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "$[email protected]"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git add DIRECTORY.md
git commit -am "updating DIRECTORY.md" || true
Expand Down

0 comments on commit 6075b3a

Please sign in to comment.