Blueprints

Search GitHub org and log most starred repo

Source

yaml
id: github_search_blueprint
namespace: company.team

tasks:
  - id: top_kestra_repos
    type: io.kestra.plugin.github.repositories.Search
    query: "org:kestra-io"
    visibility: PUBLIC
    sort: STARS
    order: DESC

  - id: to_json
    type: io.kestra.plugin.serdes.json.IonToJson
    from: "{{ outputs.top_kestra_repos.uri }}"

  - id: log_json
    type: io.kestra.plugin.core.log.Log
    message: "{{ read(outputs.to_json.uri) | jq('.name') | first }}"

About this blueprint

Getting Started Business

This flow searches GitHub repos within a given org and logs the repo name of the most starred repo within that org.

This flow does not require any prerequisites or authentication.

Search

Ion To Json

Log

More Related Blueprints

New to Kestra?

Use blueprints to kickstart your first workflows.

Get started with Kestra