mirror of
https://github.com/super-linter/super-linter.git
synced 2025-02-22 04:51:13 -05:00
chore: fix ansible dir ownership in tests (#6563)
Change ownership of files and dirs produced by Ansible because it creates directories in the working directory that are owned by the user running ansible-lint (root in this case).
This commit is contained in:
parent
a5e3381dae
commit
ff7ebeef9d
1 changed files with 2 additions and 1 deletions
|
@ -489,7 +489,8 @@ if [[ "${VERIFY_FIX_MODE:-}" == "true" ]]; then
|
|||
fi
|
||||
|
||||
if find "${BAD_TEST_CASE_DESTINATION_PATH}" \( -type f ! -readable -or -type d \( ! -readable -or ! -executable -or ! -writable \) \) -print | grep -q .; then
|
||||
if [[ "${LANGUAGE}" == "DOTNET_SLN_FORMAT_ANALYZERS" ]] ||
|
||||
if [[ "${LANGUAGE}" == "ANSIBLE" ]] ||
|
||||
[[ "${LANGUAGE}" == "DOTNET_SLN_FORMAT_ANALYZERS" ]] ||
|
||||
[[ "${LANGUAGE}" == "DOTNET_SLN_FORMAT_STYLE" ]] ||
|
||||
[[ "${LANGUAGE}" == "DOTNET_SLN_FORMAT_WHITESPACE" ]] ||
|
||||
[[ "${LANGUAGE}" == "RUST_CLIPPY" ]] ||
|
||||
|
|
Loading…
Add table
Reference in a new issue