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
Describe the bug
Using latest actions/checkout@v3 (v3.0.2) on self-hosted runners when including @semantic-release/github causes the following error
EINVALIDGITHUBURL The git repository URL is not a valid GitHub URL.
The semantic-release repositoryUrl option must a valid GitHub URL with the format <GitHub_or_GHE_URL>/<owner>/<repo>.git.
By default the repositoryUrl option is retrieved from the repository property of your package.json or the git origin url (https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) of the repository cloned by your CI environment.
[semantic-release] › ✖ An error occurred while running semantic-release: TypeError: Cannot read properties of undefined (reading 'name')
Describe the bug
Using latest
actions/checkout@v3
(v3.0.2
) on self-hosted runners when including@semantic-release/github
causes the following errorThis can be mitigated by using
actions/[email protected]
and addingto the action run
Workflow
If applicable, provide a workflow file to help explain your problem.
releaserc.yml:
Expected behavior
The use of latest
actions/checkout@v3
should not cause the failure to accept repository path.Additional context
Failing release had these components:
successful:
the fix for this for me was:
The above
git config
comes from this issue: actions/checkout#766The text was updated successfully, but these errors were encountered: