Skip to content

Pipeline failing with 413 HTTP error when using axe-linter-action@v1 #80

@aerdaTR

Description

@aerdaTR

Problem Description

I'm experiencing a 413 HTTP error when trying to use the axe-linter-action in my GitHub Actions pipeline. The action fails consistently, preventing the accessibility linting from completing.

Expected Behavior

The axe-linter-action should successfully analyze the codebase for accessibility issues without HTTP errors.

Actual Behavior

The pipeline fails with a 413 HTTP error when the axe-linter-action step runs.

name: Lint for accessibility issues

on: [pull_request]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
          token: ${{ secrets.GH_TOKEN }}

      # This is getting 413 HTTP error
      - uses: dequelabs/axe-linter-action@v1
        with:
          api_key: ${{ secrets.AXE_LINTER_API_KEY }}
          github_token: ${{ secrets.GITHUB_TOKEN }}

Additional Context

The 413 HTTP error typically indicates "Payload Too Large"
This might be related to the size of the codebase or the number of files being analyzed
The error occurs consistently across different pull requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions