ci: add variable to skip acquiring git user email

This commit is contained in:
Ben Grande 2025-01-16 18:46:12 +01:00
parent 2d5d3affe3
commit 2d832031d3
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# yamllint disable-line rule:line-length
# SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
# SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
@ -49,6 +49,7 @@ jobs:
env:
SPEC_VENDOR: Ben Grande
SPEC_PACKAGER: Ben Grande <ben.grande.b@gmail.com>
GIT_EMAIL: ben.grande.b@gmail.com
- uses: editorconfig-checker/action-editorconfig-checker@main
- name: Run Editorconfig Checker
run: |

View File

@ -23,7 +23,7 @@ case "${-}" in
*) xtrace=0;;
esac
email="<$(git config --get user.email)>"
email="<${GIT_EMAIL:-"$(git config --get user.email)"}>"
year="$(date -- '+%Y')"
fail="0"