Conversation
There was a problem hiding this comment.
Pull request overview
Adds support for a token input name (matching common GitHub Actions conventions) while keeping github_token for backwards compatibility, and updates the wrapper logic/docs accordingly.
Changes:
- Introduces a new
tokeninput inaction.yml. - Resolves auth token in
start.jsviaINPUT_TOKEN || INPUT_GITHUB_TOKENand forwards it tostart.sh. - Updates README usage examples and inputs table; updates the missing-token error message.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
action.yml |
Adds new token input (but current defaults create a precedence regression). |
start.js |
Resolves token from token/github_token and forwards the resolved token to the shell script. |
start.sh |
Updates the missing-token error message to reference token. |
README.md |
Documents token usage and adds token to the inputs table. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Pascal Zimmermann <pascal.zimmermann@theiotstudio.com>
Collaborator
Author
ad-m
approved these changes
May 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Support token as primary input name
Adds token as the preferred input name, aligning with the naming convention used by actions/checkout. The existing
github_tokeninput continues to work as a fallback for backwards compatibility.Usage
Changes
tokenis resolved first, falling back togithub_tokenif not setIssue
fix: #56
Test