Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: support for github issue creation/commenting #2641

Open
smerle33 opened this issue Sep 3, 2024 · 2 comments
Open

Feature Request: support for github issue creation/commenting #2641

smerle33 opened this issue Sep 3, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@smerle33
Copy link
Contributor

smerle33 commented Sep 3, 2024

Is your feature request related to a problem?

While working on jenkins-infra/docker-openvpn#354 I decided to automate the issue generation for CRL cert renewal.
Which lead me to use GH, but this could have been embedded within updatecli as a target (not action as for this example there is no target to provide, and target is mandatory to use action)

Solution you'd like

targets:
  createIssue:
    kind: github/issue
  scmid: default
  title: Bump CRL cert as will expire soon {{ source "previousendate" }}
    body: |
      "follow https://github.com/jenkins-infra/docker-openvpn?tab=readme-ov-file#howto-renew-certificate-revocation-list \
        See https://github.com/jenkins-infra/helpdesk/issues/4266 for details."
  spec:
    labels:
      - crl
      - updatecli

Alternatives you've considered

using gh but then I needed to check on already openned issue

Anything else?

No response

@olblak
Copy link
Member

olblak commented Sep 5, 2024

Interesting request, I had similar needs for JIRA and GitHub issues :D
IMHO it would make sense to have a new plugin for this

@olblak olblak added the enhancement New feature or request label Sep 5, 2024
@dduportal dduportal changed the title Feature Request: support for github issue creation Feature Request: support for github issue creation/commenting Feb 4, 2025
@MattHodge
Copy link

I have a similar use case / feature request.

When running the updatecli apply command, you get the follow logged to the stdout (source code):

Pull Request available at:

	https://github.com/Org/Repo/pull/58

I would like to be able to grab this URL and then use it to make a comment on the PR that triggered updatecli to run, saying something like:

"This PR caused the creation of the following downstream PRs: <PullRequest.URI>"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

3 participants