Skip to content

Conversation

@derekmisler
Copy link
Contributor

@derekmisler derekmisler commented Jan 23, 2026

Summary

Fixes the GitHub token environment variable name from GITHUB_PERSONAL_ACCESS_TOKEN to GH_TOKEN in the GitHub Action configuration. This change aligns with the standard GitHub CLI environment variable naming convention and ensures proper authentication for GitHub API operations.

Changes

Modified

  • action.yml: Updated environment variable name for GitHub token authentication from GITHUB_PERSONAL_ACCESS_TOKEN to GH_TOKEN

Technical Details

This is a simple but important configuration fix that corrects the environment variable name used for GitHub authentication within the action. The GitHub CLI (gh) tool expects the token to be provided via the GH_TOKEN environment variable, not GITHUB_PERSONAL_ACCESS_TOKEN.

Key changes:

  • action.yml (line 308): Changed GITHUB_PERSONAL_ACCESS_TOKEN to GH_TOKEN while maintaining the same input source (inputs.github-token || github.token)

The change maintains backward compatibility as it only affects the internal environment variable name, not the input parameter name or token source.

Testing

  • Verify GitHub API operations work correctly with the new environment variable
  • Test that existing workflows using this action continue to function
  • Confirm GitHub CLI commands can authenticate properly

Breaking Changes

None - this is an internal environment variable change that doesn't affect the action's public interface.

Related Issues

None explicitly referenced.

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • No new warnings introduced
  • Security implications considered (proper token handling maintained)

@derekmisler derekmisler self-assigned this Jan 23, 2026
@derekmisler
Copy link
Contributor Author

/describe

@github-actions
Copy link

✅ PR description has been generated and updated!

@derekmisler derekmisler marked this pull request as ready for review January 23, 2026 15:57
@derekmisler derekmisler requested a review from a team as a code owner January 23, 2026 15:57
@derekmisler derekmisler merged commit 5602cde into docker:main Jan 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants