mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 12:30:08 +00:00
ignore submodules in copyright check (#4874)
Otherwise, they get reported as missing copyright header whenever selecting a new commit for a submodule.
This commit is contained in:
parent
ef0b95dfbc
commit
8ef6223026
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -68,7 +68,7 @@ jobs:
|
||||
|
||||
base_branch=$(jq -r '.pull_request.base.ref' "$GITHUB_EVENT_PATH")
|
||||
git fetch origin "$base_branch" 2>/dev/null
|
||||
modified_files=$(git diff --name-only --diff-filter=d "origin/$base_branch" HEAD | grep -vE '\.('$excluded_extensions')$')
|
||||
modified_files=$(git diff --name-only --diff-filter=d --ignore-submodules "origin/$base_branch" HEAD | grep -vE '\.('$excluded_extensions')$')
|
||||
|
||||
current_year=$(date +"%Y")
|
||||
outdated_files=()
|
||||
|
Loading…
x
Reference in New Issue
Block a user