-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix GitHub Actions Authentication Issue #51
base: main
Are you sure you want to change the base?
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) |
This issue is stale because it has been open 60 days with no activity. |
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@v4
action 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@v4
action. This is done by replacing the current value of thegithub-token
input with${{ secrets.GITHUB_TOKEN }}
, which is a special secret automatically created by GitHub for each repository.Summary of Changes
.github/workflows/lock-issue.yml
to use${{ secrets.GITHUB_TOKEN }}
for thegithub-token
input of thedessant/lock-threads@v4
action.After these changes, the GitHub Actions workflow should be able to authenticate with GitHub using the correct token and the
dessant/lock-threads@v4
action should no longer fail due to bad credentials.