Skip to content

Dynamic PR titles for argocd autodiscovery #2258

Closed Answered by olblak
cloudoutloud asked this question in Q&A
Discussion options

You must be logged in to vote

It should already be the case.

The following manifest

name: Argocd Autodiscovery Example

autodiscovery:
  scmid: default
  actionid: default
  groupby: individual
  crawlers:
    argocd:

actions:
    default:
        kind: "github/pullrequest"
        spec:
            labels:
                - "dependencies"
            mergemethod: "squash"
        scmid: "default"
    
scms:
  default:
    kind: github
    spec:
      #user: redacted
      owner: kubefirst
      username: '{{ requiredEnv "GITHUB_ACTOR" }}'
      token: '{{ requiredEnv "GITHUB_TOKEN" }}'
      repository: gitops-catalog
      branch: main

generates the manifest:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@cloudoutloud
Comment options

Answer selected by cloudoutloud
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants