diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index 3342b01b..ebeab038 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -58,8 +58,8 @@ jobs: - name: Commit license report and push if: steps.changes.outputs.target == 'true' && github.ref_name != github.event.repository.default_branch run: | - git config user.name 'github-actions[bot]' - git config user.email 'github-actions[bot]@users.noreply.github.com' + git config user.name "$GITHUB_ACTOR" + git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" git add "$LICENSE_REPORT" git commit -m "Update $LICENSE_REPORT" git push origin ${{ github.event.pull_request.head.ref }}