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
For default repository value git-cliff uses GITHUB_REPO which doesn't fall inline with any of the above. GH_REPO is used in 1) and GITHUB_REPOSITORY is used in 2)
--github-repo=$GITHUB_REPOSITORY should be obsolete and it's value taken from existing GITHUB_REPOSITORY default env variable for better user experience
Screenshots / Logs
No response
Software information
Operating system: GitHub Actions
Rust version: - (used from PyPI)
Project version: 2.7.0
Additional context
This hurt me more, because there was GITHUB_REPO variable set in my company's GHE server. It was pointing to some GitHub Actions configuration repository. I spend an hour to find why the API call were failing 🤷♂️
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description of the bug
Hi!
This is more 'quality-of-life' enhancement rather than bug, bug I guess it might be helpful...
There are 2 sets naming standards for default GitHub env var values:
GH_
): https://cli.github.com/manual/gh_help_environmentGITHUB_
): https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variablesFor default repository value git-cliff uses
GITHUB_REPO
which doesn't fall inline with any of the above.GH_REPO
is used in 1) andGITHUB_REPOSITORY
is used in 2)This can be confusing when you use git-cliff in GitHub Actions for the first time (directly from CLI, without https://github.com/orhun/git-cliff-action).
Steps To Reproduce
Expected behavior
--github-repo=$GITHUB_REPOSITORY
should be obsolete and it's value taken from existingGITHUB_REPOSITORY
default env variable for better user experienceScreenshots / Logs
No response
Software information
Additional context
This hurt me more, because there was
GITHUB_REPO
variable set in my company's GHE server. It was pointing to some GitHub Actions configuration repository. I spend an hour to find why the API call were failing 🤷♂️The text was updated successfully, but these errors were encountered: