diff --git a/.github/workflows/update-go-mod-version.yml b/.github/workflows/update-go-mod-version.yml index 6bbfc5ef..6390811b 100644 --- a/.github/workflows/update-go-mod-version.yml +++ b/.github/workflows/update-go-mod-version.yml @@ -63,7 +63,7 @@ jobs: if: ${{ steps.commit.outputs.commit_sha != '' }} uses: paketo-buildpacks/github-config/actions/pull-request/push-branch@main with: - branch: automation/go-mod-update/update-main + branch: automation/go-mod-update/update - name: Open Pull Request if: ${{ steps.commit.outputs.commit_sha != '' }} @@ -71,7 +71,8 @@ jobs: with: token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} title: "Updates go mod version to ${{ steps.setup-go.outputs.go-version }}" - branch: automation/go-mod-update/update-main + branch: automation/go-mod-update/update + base: ${{ github.event.repository.default_branch }} failure: name: Alert on Failure diff --git a/sbom/internal/formats/common/property_encoder.go b/sbom/internal/formats/common/property_encoder.go index ac64c8cd..2cdd7c30 100644 --- a/sbom/internal/formats/common/property_encoder.go +++ b/sbom/internal/formats/common/property_encoder.go @@ -158,7 +158,7 @@ func Decode(typ reflect.Type, values map[string]string, prefix string, fn FieldN isSlice := false if typ.Kind() == reflect.Slice { - typ = reflect.PtrTo(typ) + typ = reflect.PointerTo(typ) isSlice = true }