Skip to content

Commit db48176

Browse files
Update workflow
1 parent dd02f26 commit db48176

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/accessibility.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ jobs:
9090
9191
- name: Run Pa11y CI on changed pages only and save output
9292
id: run_pa11y
93+
shell: bash # <-- this fixes the mapfile error
9394
run: |
9495
num_files=$(jq length pa11y_targets.json)
9596
touch pa11y_output.md
@@ -100,7 +101,7 @@ jobs:
100101
echo "### 🚦 Pa11y Accessibility Report" > pa11y_output.md
101102
echo "" >> pa11y_output.md
102103
103-
# Deduplicate HTML targets and read them into an array
104+
# Deduplicate HTML targets and read into array
104105
mapfile -t html_files < <(jq -r '.[]' pa11y_targets.json | sort -u)
105106
106107
for file in "${html_files[@]}"; do
@@ -118,6 +119,7 @@ jobs:
118119
fi
119120
120121
122+
121123
- name: Debug GitHub context
122124
run: |
123125
echo "Event name: ${{ github.event_name }}"

0 commit comments

Comments
 (0)