Skip to content

Error: HttpError: Bad credentials #30

Description

@konsloiz

Describe the bug
The GitHub Actions workflow fails with a HttpError: Bad credentials error when running the oprypin/find-latest-tag@v1 action to fetch the latest release tag from the mongodb/mongodb-atlas-cli repository. The failure occurs even though the workflow proceeds normally up to that step.

To Reproduce
Steps to reproduce the behavior:

  1. Run a GitHub Actions workflow that includes:
  • mongodb/atlas-github-action@v0.2.0
  • oprypin/find-latest-tag@v1 with:
repository: mongodb/mongodb-atlas-cli
releases-only: true
regex: atlascli*
  1. Observe the workflow execution.
  2. The workflow fails with:
Error: HttpError: Bad credentials - https://docs.github.com/rest

Expected behavior
The oprypin/find-latest-tag@v1 action should successfully authenticate to the GitHub REST API and retrieve the latest release tag from the mongodb/mongodb-atlas-cli repository without failing due to credential issues.

Screenshots
Not available (error observed in GitHub Actions logs).

Desktop (please complete the following information):

  • OS: Ubuntu Linux (GitHub Actions runner)
  • MongoCLI version: N/A (failure occurs before Atlas CLI is installed or used)

Additional context
I believe the error is related to my private repo & this, which is an action that seems to be used.

Metadata

Metadata

Assignees

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