Fix GitHub Actions Authentication Error #86
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 fixes the failing GitHub Actions workflow due to bad credentials. The issue was with the
usthe/[email protected]
action, which was not provided with the necessary authentication token.The fix involves passing a GitHub token to the action as an input. This token is stored as a secret in the repository settings, named
GH_TOKEN
.The changes were made in the
.github/workflows/main.yml
file, where theusthe/[email protected]
action is used.Summary of Changes
usthe/[email protected]
to include awith
section.with
section, added atoken
parameter set to${{ secrets.GH_TOKEN }}
, which passes theGH_TOKEN
secret as an input to the action.This modification ensures that the
issues-translate-action
has the necessary credentials to perform its operations, thus resolving the "Bad credentials" error.