Fix GitHub Actions Authentication Issue#51
Fix GitHub Actions Authentication Issue#51sweep-ai-deprecated[bot] wants to merge 1 commit intomainfrom
Conversation
Rollback Files For Sweep
|
Sandbox Executions
Check .github/workflows/lock-issue.yml with contents: |
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: Generating plan by analyzing files... (step 2/3) |
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: Making changes according to plan... (step 3/3) |

PR Feedback (click)
I created this PR to fix the failing GitHub Actions.## Description
This PR addresses the issue with the failing GitHub Actions workflow. The
dessant/lock-threads@v4action was failing due to bad credentials. This was caused by an incorrect GitHub token being used in the workflow.The changes in this PR ensure that the correct GitHub token is used by the
dessant/lock-threads@v4action. This is done by replacing the current value of thegithub-tokeninput with${{ secrets.GITHUB_TOKEN }}, which is a special secret automatically created by GitHub for each repository.Summary of Changes
.github/workflows/lock-issue.ymlto use${{ secrets.GITHUB_TOKEN }}for thegithub-tokeninput of thedessant/lock-threads@v4action.After these changes, the GitHub Actions workflow should be able to authenticate with GitHub using the correct token and the
dessant/lock-threads@v4action should no longer fail due to bad credentials.