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 the GitHub Actions workflow failing due to bad credentials when trying to run the dessant/lock-threads@v4 action. The error was caused by the action not being able to authenticate with GitHub, likely due to missing or incorrect credentials.

The solution involved ensuring that the GitHub Actions workflow has the correct credentials to authenticate with GitHub. This was achieved by setting up a GitHub secret that stores the necessary credentials and then referencing this secret in the workflow file where the dessant/lock-threads@v4 action is used.

Summary of Changes

  • Modified the .github/workflows/lock-issue.yml file to include the correct credentials for the dessant/lock-threads@v4 action. This was done by referencing a GitHub secret that stores the necessary credentials. Specifically, the github-token: ${{ secrets.GITHUB_TOKEN }} line was added to the with: section of the dessant/lock-threads@v4 action.

@sweep-ai-deprecated
Copy link
Contributor Author

Rollback Files For Sweep

  • Rollback changes to .github/workflows/lock-issue.yml
  • Rollback changes to .github/workflows/lock-issue.yml

@sweep-ai-deprecated
Copy link
Contributor Author

Sandbox Executions

  • Running GitHub Actions for .github/workflows/lock-issue.yml
Check .github/workflows/lock-issue.yml with contents:

Ran GitHub Actions for 0fff0ed13c1d34082b7971e526878c1fabcb807a:

@sweep-ai-deprecated sweep-ai-deprecated bot added the sweep Assigns Sweep to an issue or pull request. label Jan 2, 2024
@sweep-ai-deprecated
Copy link
Contributor Author

sweep-ai-deprecated bot commented Jan 2, 2024

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

Making changes according to plan... (step 3/3)

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

Labels

sweep Assigns Sweep to an issue or pull request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants