mirror of
https://github.com/ben-grande/qusal.git
synced 2025-12-15 00:20:13 -05:00
ci: add variable to skip acquiring git user email
This commit is contained in:
parent
2d5d3affe3
commit
2d832031d3
2 changed files with 3 additions and 2 deletions
3
.github/workflows/main.yaml
vendored
3
.github/workflows/main.yaml
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
# yamllint disable-line rule:line-length
|
# 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
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|
@ -49,6 +49,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SPEC_VENDOR: Ben Grande
|
SPEC_VENDOR: Ben Grande
|
||||||
SPEC_PACKAGER: Ben Grande <ben.grande.b@gmail.com>
|
SPEC_PACKAGER: Ben Grande <ben.grande.b@gmail.com>
|
||||||
|
GIT_EMAIL: ben.grande.b@gmail.com
|
||||||
- uses: editorconfig-checker/action-editorconfig-checker@main
|
- uses: editorconfig-checker/action-editorconfig-checker@main
|
||||||
- name: Run Editorconfig Checker
|
- name: Run Editorconfig Checker
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ case "${-}" in
|
||||||
*) xtrace=0;;
|
*) xtrace=0;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
email="<$(git config --get user.email)>"
|
email="<${GIT_EMAIL:-"$(git config --get user.email)"}>"
|
||||||
year="$(date -- '+%Y')"
|
year="$(date -- '+%Y')"
|
||||||
fail="0"
|
fail="0"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue