Skip to content

[WIP] Fix failing shellcheck GitHub Actions job - #11

Merged
JoannaaKL merged 2 commits into
mainfrom
copilot/fix-shellcheck-job-failure
May 27, 2026
Merged

[WIP] Fix failing shellcheck GitHub Actions job#11
JoannaaKL merged 2 commits into
mainfrom
copilot/fix-shellcheck-job-failure

Conversation

Copilot AI commented May 27, 2026

Copy link
Copy Markdown
Contributor

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Fix the failing GitHub Actions job "shellcheck"
Analyze the Actions logs, identify the root cause of the failure, and implement a fix.
Check run ID: 70417637520
Job URL: https://github.com/JoannaaKL/dotfiles/actions/runs/24134100154/job/70417637520

Copilot AI requested a review from JoannaaKL May 27, 2026 08:34
@JoannaaKL
JoannaaKL marked this pull request as ready for review May 27, 2026 08:39
Copilot AI review requested due to automatic review settings May 27, 2026 08:39
@JoannaaKL
JoannaaKL merged commit aa66f08 into main May 27, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates install.sh to address ShellCheck findings from the failing shellcheck GitHub Actions job.

Changes:

  • Replaces indirect $? checking with an if (...) compound command.
  • Rewrites the fc-cache command chain as an explicit if block.
Show a summary per file
File Description
install.sh Updates font-installation logic to satisfy ShellCheck style warnings.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread install.sh
Comment on lines +46 to +53
if (
shopt -s nullglob nocaseglob 2>/dev/null || true
local meslo_candidates=("$dest"/*Meslo*"Nerd Font"*.ttf)
if (( ${#meslo_candidates[@]} > 0 )); then
log "Meslo Nerd Font already present"
exit 0
fi
)
if [[ $? -eq 0 ]]; then
); then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants