Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

GitHub Script action not pinned to a full-length commit SHA

Open
#169 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
github-actions
Domain
ci-cd, security

Research direction

Start with action.yml at line 137, referenced in the issue, and inspect the accessibility-scanner workflow's actions/github-script usage. Update the action reference to a full-length commit SHA, then verify that the workflow satisfies the repository's pinning requirement and runs successfully.

Written by the indexing model from the issue text.

Description

The accessibility-scanner workflow uses actions/github-script@v8 without pinning it to a specific commit SHA. This violates security best practices and causes the pipeline to fail when the Require actions to be pinned to a full-length commit SHA setting is enabled.

Steps to Reproduce
  1. Enable Require actions to be pinned to a full-length commit SHA in the repository settings.
  2. Run the accessibility-scanner workflow.
  3. Observe the failure caused by the unpinned actions/github-script action.
Expected Behavior

The workflow should run successfully with all actions pinned to full-length commit SHAs.

Actual Behavior

The workflow fails because actions/github-script@v8 is not pinned to a commit SHA.

https://github.com/github/accessibility-scanner/blob/db51bb5d470a862cc027836ee1583ab9d5ae5b16/action.yml#L137

Dominant language
TypeScript
Stars
374
Forks
42
Avg merge
1d 13h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/accessibility-scanner

All issues in github/accessibility-scanner

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.