dequelabs / axe-linter-action

A GitHub Action to lint for any accessibility issues in your pull requests.
Mozilla Public License 2.0
8 stars 6 forks source link

Multiple errors when the action runs `axe-linter.sh` #27

Closed anastasialanz closed 11 months ago

anastasialanz commented 11 months ago

When running this action in another project, I keep getting these errors:

parse error: Invalid numeric literal at line 1, column 7
/home/runner/work/_actions/dequelabs/axe-linter-action/v1/axe-linter.sh: line 40: [: =: unary operator expected
parse error: Invalid numeric literal at line 1, column 7
parse error: Invalid numeric literal at line 1, column 7
/home/runner/work/_actions/dequelabs/axe-linter-action/v1/axe-linter.sh: line 41: queryA: command not found

This issue may be related to https://github.com/jqlang/jq/issues/501.

michael-siek commented 11 months ago

Closing should be fixed in an upcoming release

padmavemulapati commented 7 months ago

Verified this with the GHA- on https://github.com/dequelabs/demo-axe-linter-github-workflow-action

Observations:

  1. When we have few A11y errors (less than 10) we can see all the errors are listed

https://github.com/dequelabs/axe-linter-action/assets/47409579/07d2a3aa-4f68-4449-ac99-3143590e6808

  1. When we have more A11y errors (more than 10) we can't see all those in File changes where as we see them in the build errors

https://github.com/dequelabs/axe-linter-action/assets/47409579/73a157ed-b1f0-49eb-845e-a90fbfc0b0b2

Considering it as Git-limitation.

@michael-siek , do we need to hold this ticket or what will be next action item here

Environment:

Label Value
Product axe-devtools-linter
Type GithubActions
RepoDetails (https://github.com/dequelabs/demo-axe-linter-github-workflow-action)