Skip to content

ci: vendor validation scripts and remove remote action pins - #61

Merged
hyperpolymath merged 1 commit into
mainfrom
fix-ci-actions
Jul 27, 2026
Merged

ci: vendor validation scripts and remove remote action pins#61
hyperpolymath merged 1 commit into
mainfrom
fix-ci-actions

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Automated PR to fix CI after deleted actions.

Comment thread .githooks/validate-a2ml.sh
@gitar-bot

gitar-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 1 resolved / 1 findings

Vendors validation scripts and removes remote action pins to fix CI workflows. Ensure the empty PATHS_IGNORE array uses safer expansion to prevent unbound variable errors on older bash versions.

Auto-approved: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria.

✅ 1 resolved
Edge Case: Empty PATHS_IGNORE array is unbound under set -u on bash <4.4

📄 .githooks/validate-a2ml.sh:37-51
With set -u in effect, iterating an empty array via "${PATHS_IGNORE[@]}" triggers an 'unbound variable' error on bash versions before 4.4 (notably macOS's stock bash 3.2). GitHub's ubuntu-latest ships bash 5.x so CI is unaffected, but if these .githooks/ scripts are ever run locally the script aborts before scanning any files. Guard the expansion to be portable.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Gitar has auto-approved this PR (configure)

@hyperpolymath
hyperpolymath merged commit 57c225a into main Jul 27, 2026
20 of 21 checks passed
@hyperpolymath
hyperpolymath deleted the fix-ci-actions branch July 27, 2026 22:33
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.

1 participant