Fix GitHub Actions Workflow Failing Due to Bad Credentials #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Feedback (click)
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. The workflow in question is the one that locks threads, which was failing because the GitHub token it was using was invalid or had insufficient permissions.
The solution involved updating the GitHub token used in the workflow. This token is stored as a secret in the GitHub repository settings, and is referenced in the workflow file. The PR changes the secret used in the
.github/workflows/lock-issue.yml
file to use a new secret that has the necessary permissions.Summary of Changes
.github/workflows/lock-issue.yml
to use a new GitHub token secret.Please note that the actual creation of the new secret is not part of the code changes and should be done manually in the GitHub repository settings. The name of the new secret is used in the code changes.