Skip to content

Commit

Permalink
commit using user that started the action
Browse files Browse the repository at this point in the history
  • Loading branch information
elrayle committed Jun 3, 2024
1 parent 16464f3 commit 6b41210
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/fetch-licenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ jobs:
- name: Commit and push
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git config --local user.email $GITHUB_USER_EMAIL
git config --local user.name $GITHUB_USER_NAME
git commit -m "Add updated license files - $(date)" -a
git push
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: "Update SPDX license files"
title: "Update SPDX license files - $(date)"
body: "The files in this PR are auto-generated by the [fetch-licenses](./.git/workflows/fetch-license.yaml) workflow. It updates SPDX licenses based on the latest released set in the [spdx/license-list-data](https://github.com/spdx/license-list-data) repository maintained by [SPDX](https://spdx.org/licenses/)."
branch: "auto-update-licenses"
base: "main"

0 comments on commit 6b41210

Please sign in to comment.