nextauthjs / nextauthjs/next-auth

ci: broken-link-checker references missing action aaimio/vercel-preview-url-action@v2.2.0

Open Beginner friendly
#13,475 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
28.4k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

Environment
N/A — this is a repository CI / GitHub Actions workflow issue in nextauthjs/next-auth itself, not an application runtime bug in next-auth/Auth.js.
Reproduction URL

https://github.com/MGPOCKY/next-auth-broken-action-repro

Describe the issue

.github/workflows/broken-link-checker.yml in nextauthjs/next-auth depends on an external Action that no longer resolves on GitHub:

- uses: aaimio/vercel-preview-url-action@v2.2.0

aaimio/vercel-preview-url-action returns 404 via the GitHub API (repository missing, private, or removed). Even though a tag (v2.2.0) is written in the pin, GitHub Actions cannot fetch that ref, so this job cannot run reliably when triggered.

This was previously filed as https://github.com/nextauthjs/next-auth/issues/13474 and closed for missing reproduction URL; reopening with a public reproduction outside the nextauthjs org per the triage bot guidance.

How to reproduce
  1. Open the upstream workflow: https://github.com/nextauthjs/next-auth/blob/main/.github/workflows/broken-link-checker.yml
  2. Note the step uses: aaimio/vercel-preview-url-action@v2.2.0
  3. Open or API-check https://github.com/aaimio/vercel-preview-url-action404 Not Found
  4. The same pin is mirrored in the reproduction repo: https://github.com/MGPOCKY/next-auth-broken-action-repro/blob/main/.github/workflows/broken-link-checker.yml
Expected behavior

Workflow uses: pins should resolve to an existing public Action (or a maintained replacement), preferably pinned to a release tag or commit SHA that GitHub Actions can fetch. If the Vercel preview URL helper is obsolete, the step/workflow should be removed or replaced.

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.

Research direction

Start with .github/workflows/broken-link-checker.yml and verify that aaimio/vercel-preview-url-action@v2.2.0 no longer resolves, using the linked repository or GitHub API check. Review how the step is used in the workflow, then make the workflow depend on a fetchable action or remove the obsolete step. Done means the workflow references only resolvable actions and can run successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.