Skip to content

Release 7.1.0 failed 401 error updating GitHub #1642

@MikeMcC399

Description

@MikeMcC399

From merged PR #1641

https://www.githubstatus.com/incidents/cqb5hcy0gx18 records a now resolved disruption of GitHub services that broke the release workflow for 7.1.0 and left it in a partially released state

Status

Logs

https://github.com/cypress-io/github-action/actions/runs/21251784033/job/61155098816 shows:

Run cycjimmy/semantic-release-action@v6

added 333 packages, and audited 534 packages in 4s

108 packages are looking for funding
  run `npm fund` for details

7 vulnerabilities (2 low, 2 moderate, 3 high)

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

[2:17:41 PM] [semantic-release] › ℹ  Running semantic-release version 25.0.2
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/npm"
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/npm"
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/npm"
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/npm"
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
[2:17:41 PM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
[2:17:49 PM] [semantic-release] › ✔  Run automated release from branch master on repository git+https://github.com/cypress-io/github-action.git
[2:17:49 PM] [semantic-release] › ✔  Allowed to push to the Git repository
[2:17:49 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/npm"
[2:17:49 PM] [semantic-release] [@semantic-release/npm] › ℹ  Verifying OIDC context for publishing from GitHub Actions
[2:17:49 PM] [semantic-release] [@semantic-release/npm] › ℹ  Retrieval of GitHub Actions OIDC token failed: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
[2:17:49 PM] [semantic-release] [@semantic-release/npm] › ℹ  Have you granted the `id-token: write` permission to this workflow?
[2:17:49 PM] [semantic-release] [@semantic-release/npm] › ℹ  Verify authentication for registry https://registry.npmjs.org/
[2:17:49 PM] [semantic-release] [@semantic-release/npm] › ℹ  Reading npm config from /home/runner/work/github-action/github-action/.npmrc
[2:17:49 PM] [semantic-release] [@semantic-release/npm] › ℹ  Wrote NPM_TOKEN to /tmp/69f718cc781d17a730b3b67f5e2f6839/.npmrc
cypress-npm-publisher
[2:17:50 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/npm"
[2:17:50 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/github"
[2:17:50 PM] [semantic-release] [@semantic-release/github] › ℹ  Verify GitHub authentication (https://api.github.com)
[2:17:50 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/github"
[2:17:50 PM] [semantic-release] › ℹ  Found git tag v7.0.0 associated with version 7.0.0 on branch master
[2:17:50 PM] [semantic-release] › ℹ  Found 1 commits since last release
[2:17:50 PM] [semantic-release] › ℹ  Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
[2:17:55 PM] [semantic-release] › ✔  Completed step "publish" of plugin "@semantic-release/npm"
[2:17:55 PM] [semantic-release] › ℹ  Start step "publish" of plugin "@semantic-release/github"
[2:17:55 PM] [semantic-release] › ✘  Failed step "publish" of plugin "@semantic-release/github"
[2:17:55 PM] [semantic-release] › ✘  An error occurred while running semantic-release: RequestError [HttpError]: Requires authentication - https://docs.github.com/rest
    at fetchWrapper (file:///home/runner/work/_actions/cycjimmy/semantic-release-action/v6/node_modules/@octokit/request/dist-bundle/index.js:123:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async requestWithGraphqlErrorHandling (file:///home/runner/work/_actions/cycjimmy/semantic-release-action/v6/node_modules/@octokit/plugin-retry/dist-bundle/index.js:36:20)
    at async Job.doExecute (/home/runner/work/_actions/cycjimmy/semantic-release-action/v6/node_modules/bottleneck/light.js:405:18) {
  status: 401,
  request: {
    method: 'POST',
    url: 'https://api.github.com/repos/cypress-io/github-action/releases',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': '@semantic-release/github v12.0.2 octokit-core.js/7.0.6 Node.js/24',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: [Object: null prototype] {
      tag_name: 'v7.1.0',
      target_commitish: 'master',
      name: 'v7.1.0',
      body: '# [7.1.0](https://github.com/cypress-io/github-action/compare/v7.0.0...v7.1.0) (2026-01-22)\n' +
        '\n' +
        '\n' +
        '### Features\n' +
        '\n' +
        '* add boolean option package-manager-cache ([#1641](https://github.com/cypress-io/github-action/issues/1641)) ([8a35f96](https://github.com/cypress-io/github-action/commit/8a35f965fbd13e3b18d9fb3bdc5f50ae2f4a5e76))\n' +
        '\n' +
        '\n' +
        '\n',
      prerelease: false
    },
    request: {
      agent: undefined,
      fetch: [Function: fetchWithDispatcher],
      hook: [Function: bound bound register]
    }
  },
  response: {
    url: 'https://api.github.com/repos/cypress-io/github-action/releases',
    status: 401,
    headers: {
      'access-control-allow-origin': '*',
      'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
      connection: 'close',
      'content-security-policy': "default-src 'none'",
      'content-type': 'application/json; charset=utf-8',
      date: 'Thu, 22 Jan 2026 14:17:55 GMT',
      'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
      server: 'github.com',
      'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
      vary: 'Accept-Encoding, Accept, X-Requested-With',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'deny',
      'x-github-media-type': 'github.v3; format=json',
      'x-github-request-id': '4421:583AC:D37DDD:3B3F980:69723193',
      'x-xss-protection': '0'
    },
    data: {
      message: 'Requires authentication',
      documentation_url: 'https://docs.github.com/rest',
      status: '401'
    }
  },
  pluginName: '@semantic-release/github',
  [cause]: undefined
}
Error: HttpError: Requires authentication - https://docs.github.com/rest

Suggestion

Manually re-run https://github.com/cypress-io/github-action/actions/runs/21251784033

This may need some manually tweaking though.

This has to be done by the Cypress.io team though, as write privileges are needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions