GSA-TTS / usagov-benefits-eligibility

Benefits eligibility estimator tool for USAGov.
22 stars 5 forks source link

Update pa11y scan to allow permission to comment on PRs #637

Closed wesley-dean-gsa closed 1 year ago

wesley-dean-gsa commented 1 year ago

Description

The pa11y tests are failing with an Error: Resource not accessible by integration; the Bump parse-url action is a good, recent example.

The step that's failing was documented as a GitHub issue after Dependabot bumped the action from v2.3.0 to 2.3.1.

The recommended action is to add two lines of configuration to the workflow:

  permissions:
    pull-requests: write

That should go immediately after the runs-on line (line 16) such that permissions and runs-on are indented to the same level (so, the pull-requests: write line should be indented one more level (two spaces)).

There's documentation on GitHub explaining the permissions section.

User Story

No response

Architectural Decision Records (ADRs)

No response

FatmaBakir commented 1 year ago

@wesley-dean-gsa Thank you for the detailed explanation of the issue and the solution to it. On it.