You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider renaming input from 'github_token' to 'github-token'? #56
As the GitHub github-script action uses github-token, would you consider changing the input to match them? My library is probably not the only one that uses both github-script and github-push-action so it would probably lead to less typos and errors. If there was a reason that you intentionally chose to not copy them then my apologies for missing this.
I also just wanted to say thank you, as your GitHub Action is awesome and we use it quite heavily in our publication workflow for our library pyhf.
I do not feel comfortable to drop "github_token" support, but I will gladly accept PR, which will simultaneously introduce support for "github-token" with an indication of the recommended solution consistent with proposd.
This has been implemented in #375. The token input is now supported as the primary input name, matching the convention used by actions/checkout. The existing github_token input remains fully functional as a fallback, so no existing workflows will break.
Note: The input was intentionally not named github-token (with a hyphen), as that would break the existing naming convention of this action — all current inputs use underscores (e.g., force_with_lease, push_only_tags). Using a hyphen would introduce an inconsistency across the input API.
Activity
ad-m commentedon May 30, 2020
I do not feel comfortable to drop "github_token" support, but I will gladly accept PR, which will simultaneously introduce support for "github-token" with an indication of the recommended solution consistent with proposd.
ZPascal commentedon May 23, 2026
This has been implemented in #375. The
tokeninput is now supported as the primary input name, matching the convention used byactions/checkout. The existinggithub_tokeninput remains fully functional as a fallback, so no existing workflows will break.Note: The input was intentionally not named
github-token(with a hyphen), as that would break the existing naming convention of this action — all current inputs use underscores (e.g., force_with_lease, push_only_tags). Using a hyphen would introduce an inconsistency across the input API.