Skip to content

Commit

Permalink
ci: add variable to skip acquiring git user email
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jan 16, 2025
1 parent 2d5d3af commit 2d83203
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yamllint disable-line rule:line-length
# SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <[email protected]>
# SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -49,6 +49,7 @@ jobs:
env:
SPEC_VENDOR: Ben Grande
SPEC_PACKAGER: Ben Grande <[email protected]>
GIT_EMAIL: [email protected]
- uses: editorconfig-checker/action-editorconfig-checker@main
- name: Run Editorconfig Checker
run: |
Expand Down
2 changes: 1 addition & 1 deletion scripts/copyright-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 2d83203

Please sign in to comment.