diff --git a/.github/workflows/fetch-licenses.yaml b/.github/workflows/fetch-licenses.yaml index 3311186..138b068 100644 --- a/.github/workflows/fetch-licenses.yaml +++ b/.github/workflows/fetch-licenses.yaml @@ -47,15 +47,15 @@ jobs: - name: Commit and push run: | - git config --local user.email "action@github.com" - 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"