Skip to content

Conversation

@sweep-ai-deprecated
Copy link
Contributor

PR Feedback (click)

  • 👍 Sweep Did Well
  • 👎 Sweep Needs Improvement
    I created this PR to fix the failing GitHub Actions.## Description
    This PR addresses the issue of GitHub Actions failing due to bad credentials. The error was specifically coming from the dessant/lock-threads@v4 action. The BOT_GITHUB_TOKEN was replaced with the default GITHUB_TOKEN provided by GitHub Actions in the workflow files where it was used.

Summary of Changes

  • Modified .github/workflows/stale.yml to use GITHUB_TOKEN instead of BOT_GITHUB_TOKEN.
  • Modified .github/workflows/release.yml to use GITHUB_TOKEN instead of BOT_GITHUB_TOKEN.
  • If BOT_GITHUB_TOKEN was used in .github/workflows/gosec.yml, it was replaced with GITHUB_TOKEN.
  • Modified .github/workflows/cla.yml to use GITHUB_TOKEN instead of BOT_GITHUB_TOKEN. If REDBOT_GITHUB_TOKEN was also a GitHub token and it was causing issues, it was replaced as well.

These changes should resolve the issue of GitHub Actions failing due to bad credentials.

@sweep-ai-deprecated
Copy link
Contributor Author

Rollback Files For Sweep

  • Rollback changes to .github/workflows/stale.yml
  • Rollback changes to .github/workflows/stale.yml
  • Rollback changes to .github/workflows/release.yml
  • Rollback changes to .github/workflows/release.yml
  • Rollback changes to .github/workflows/cla.yml
  • Rollback changes to .github/workflows/cla.yml

@sweep-ai-deprecated
Copy link
Contributor Author

Sandbox Executions

  • Running GitHub Actions for .github/workflows/stale.yml
Check .github/workflows/stale.yml with contents:

Ran GitHub Actions for d94f8c6b216fb2af1fd160b4a35fb8ccc30bb44d:

  • Running GitHub Actions for .github/workflows/release.yml
Check .github/workflows/release.yml with contents:

Ran GitHub Actions for bc3026d651ca4c7313fd392767307b68aa3ad24a:

  • Running GitHub Actions for .github/workflows/gosec.yml
Check .github/workflows/gosec.yml with contents:
  • Running GitHub Actions for .github/workflows/cla.yml
Check .github/workflows/cla.yml with contents:

Ran GitHub Actions for bcb53dc547816b3cbaa031a1421f41583d943443:

@sweep-ai-deprecated
Copy link
Contributor Author

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run alex-page/[email protected]
yielded the following error:
##[error]Bad credentials

Here are the logs:


@sweep-ai-deprecated
Copy link
Contributor Author

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run contributor-assistant/[email protected]
yielded the following error:
##[error]graphql call to get the committers details failed: HttpError: Bad credentials

Here are the logs:
CLA Assistant GitHub Action bot has started the process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants