diff --git a/.github/workflows/workflow-executor.yaml b/.github/workflows/workflow-executor.yaml index 433fc8b2..e42c3ced 100644 --- a/.github/workflows/workflow-executor.yaml +++ b/.github/workflows/workflow-executor.yaml @@ -170,7 +170,7 @@ jobs: uses: smorimoto/tune-github-hosted-runner-network@v1 - id: run-workflow name: Run Generation Workflow - uses: speakeasy-api/sdk-generation-action@v15 + uses: speakeasy-api/sdk-generation-action@v15.32.5 with: speakeasy_version: ${{ inputs.speakeasy_version }} github_access_token: ${{ secrets.github_access_token }} diff --git a/action.yml b/action.yml index 4f1538d6..f7c1efb6 100644 --- a/action.yml +++ b/action.yml @@ -169,7 +169,7 @@ outputs: description: "The directory the SDK target was generated to" runs: using: "docker" - image: "docker://ghcr.io/speakeasy-api/sdk-generation-action:v15" + image: "docker://ghcr.io/speakeasy-api/sdk-generation-action:v15.32.5" env: SPEAKEASY_API_KEY: ${{ inputs.speakeasy_api_key }} SPEAKEASY_SERVER_URL: ${{ inputs.speakeasy_server_url }} diff --git a/internal/actions/runWorkflow.go b/internal/actions/runWorkflow.go index e1aea231..481a9141 100644 --- a/internal/actions/runWorkflow.go +++ b/internal/actions/runWorkflow.go @@ -109,6 +109,10 @@ func RunWorkflow() error { var releaseInfo releases.ReleasesInfo if runRes.GenInfo != nil { + if runRes.VersioningReport != nil { + fmt.Println("VERSIONING REPORTS") + fmt.Println(runRes.VersioningReport.Reports) + } docVersion := runRes.GenInfo.OpenAPIDocVersion resolvedVersion = runRes.GenInfo.SpeakeasyVersion diff --git a/internal/git/git.go b/internal/git/git.go index 55689c27..909bc9ec 100644 --- a/internal/git/git.go +++ b/internal/git/git.go @@ -551,7 +551,11 @@ Based on: } else if info.SourceGeneration { title = getGenSourcesTitlePrefix() } + fmt.Println("VERSION LABEL STUFF") + fmt.Println(info.VersioningReport) suffix, labels := PRMetadata(info.VersioningReport, labelTypes) + fmt.Println(suffix) + fmt.Println(labels) title += suffix if info.PR != nil { diff --git a/internal/run/run.go b/internal/run/run.go index 0da75acb..989e0f45 100644 --- a/internal/run/run.go +++ b/internal/run/run.go @@ -132,6 +132,7 @@ func Run(g Git, pr *github.PullRequest, wf *workflow.Workflow) (*RunResult, map[ return nil, outputs, err } if len(changereport.Reports) == 0 { + fmt.Println("NO REPORTS") // Assume it's not yet enabled (e.g. CLI version too old) changereport = nil }