diff --git a/.github/workflows/fedora-copr-build.yml b/.github/workflows/fedora-copr-build.yml index e66efbbd..bff0e59f 100644 --- a/.github/workflows/fedora-copr-build.yml +++ b/.github/workflows/fedora-copr-build.yml @@ -132,7 +132,7 @@ jobs: source scripts/functions.sh [[ -n "${{ matrix.extra_script_file }}" ]] && source ${{ matrix.extra_script_file }} - chroot_opts=$(for c in ${{ env.chroots }}; do echo -n " --chroot $c "; done) + chroot_opts=($(for c in ${{ env.chroots }}; do echo -n " --chroot $c "; done)) copr create \ --instructions "$(cat project-instructions.md)" \ @@ -144,7 +144,7 @@ jobs: --appstream off \ --delete-after-days 32 \ --module-hotfixes on \ - "$chroot_opts" "${{ env.project_today }}" + "${chroot_opts[@]}" "${{ env.project_today }}" - name: "Enable snapshot_build build condition for all and swig:4.0 module in RHEL 8 build chroots (if any)" shell: bash -e {0} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53fa64c6..1a111d7c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -60,5 +60,7 @@ repos: rev: v1.7.7 hooks: - id: actionlint + env: + SHELLCHECK_OPTS: '-e SC2207' exclude: "^(snapshot_manager/tests/(test_logs|testing-farm-logs)/|media)"