K-Phoen / semver-release-action

GitHub Action to automatically create SemVer compliant releases based on PR labels.
MIT License
85 stars 38 forks source link

Error when build against an organisation-owned repo #35

Open joe-bowman opened 4 years ago

joe-bowman commented 4 years ago

We are attempting to use this against a repo owned by an organisation, and receive the following errors:

::Executing bumper guard ::debug release_branch=master,github_event_path=/github/workflow/event.json
could not parse GitHub event: json: cannot unmarshal string into Go struct field Repository.repository.organization of type github.Organization::debug ::Executing bumper latest-tag github_repository=ChorusOne/anthem
could not create lightweight tag: POST https://api.github.com/repos/ChorusOne/anthem/git/refs: 422 refs/tags/invalid increment: could not parse GitHub event: json: cannot unmarshal string into Go struct field Repository.repository.organization of type github.Organization is not a valid ref name. []::set-output name=tag::invalid increment: could not parse GitHub event: json: cannot unmarshal string into Go struct field Repository.repository.organization of type github.Organization

Any ideas?