Skip to content

Feature Request: Extend changelog when using github/pullrequest #1217

@v1v

Description

@v1v

Is your feature request related to a problem?

If the changelog is empty when using githubrelease, I'd like to support some kind of extension so I could synthetically modify the changelog within the pipeline definition.

To illustrate the above:

#1214 is the one that used

sources:
  latestGoVersion:
    name: Get Latest Go Release
    kind: githubrelease
    transformers:
      - trimprefix: go
    spec:
      owner: golang
      repository: go
      token: '{{ requiredEnv "GITHUB_TOKEN" }}'
      username: '{{ requiredEnv "GIT_USER" }}'
      versionfilter:
        kind: regex
        pattern: go1\.(\d*)\.(\d*)$
...

But its changelog is empty:

image

Solution you'd like

I'd like to somehow being able to modify the changelog as part of the kind github/pullrequest

actions:
  chart:
    kind: github/pullrequest
    scmid: githubConfig
    spec:
      extchangelog: https://github.com/golang/go/issues?q=milestone%3AGo{{ source "latestGoVersion" }}+label%3ACherryPickApproved

Alternatives you've considered

#1125 could be the new way?

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions