{"id":13514367,"url":"https://github.com/turbot/flowpipe-mod-github","last_synced_at":"2025-04-22T13:18:21.139Z","repository":{"id":212316705,"uuid":"694135666","full_name":"turbot/flowpipe-mod-github","owner":"turbot","description":"GitHub pipeline library for the Flowpipe cloud scripting engine. Automation and workflows to connect GitHub to the people, systems and data that matters.","archived":false,"fork":false,"pushed_at":"2024-10-22T12:39:36.000Z","size":221,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-29T15:24:12.316Z","etag":null,"topics":["automation","cloud","devops","flowpipe","flowpipe-mod","github","github-api","hacktoberfest","integrations","low-code","orchestration","pipelines","security","workflow","workflow-automation","workflow-engine"],"latest_commit_sha":null,"homepage":"https://hub.flowpipe.io/mods/turbot/github","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/turbot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-20T11:58:05.000Z","updated_at":"2024-10-22T12:31:10.000Z","dependencies_parsed_at":"2024-11-01T18:40:28.660Z","dependency_job_id":null,"html_url":"https://github.com/turbot/flowpipe-mod-github","commit_stats":null,"previous_names":["turbot/flowpipe-mod-github"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fflowpipe-mod-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fflowpipe-mod-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fflowpipe-mod-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fflowpipe-mod-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turbot","download_url":"https://codeload.github.com/turbot/flowpipe-mod-github/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249268557,"owners_count":21240944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","cloud","devops","flowpipe","flowpipe-mod","github","github-api","hacktoberfest","integrations","low-code","orchestration","pipelines","security","workflow","workflow-automation","workflow-engine"],"created_at":"2024-08-01T05:00:54.687Z","updated_at":"2025-04-16T19:31:42.667Z","avatar_url":"https://github.com/turbot.png","language":"HCL","readme":"# GitHub Mod for Flowpipe\n\nGitHub pipeline library for [Flowpipe](https://flowpipe.io), enabling seamless integration of GitHub services into your workflows.\n\n## Documentation\n\n- **[Pipelines →](https://hub.flowpipe.io/mods/turbot/github/pipelines)**\n\n## Getting Started\n\n### Installation\n\nDownload and install Flowpipe (https://flowpipe.io/downloads). Or use Brew:\n\n```sh\nbrew tap turbot/tap\nbrew install flowpipe\n```\n\nClone:\n\n```sh\ngit clone https://github.com/turbot/flowpipe-mod-github.git\ncd flowpipe-mod-github\n```\n\n### Connections\n\nBy default, the following environment variables will be used for authentication:\n\n- `GITHUB_TOKEN`\n\nYou can also create `connection` resources in configuration files:\n\n```sh\nvi ~/.flowpipe/config/github.fpc\n```\n\n```hcl\nconnection \"github\" \"default\" {\n  token = \"ghp_...\"\n}\n```\n\nFor more information on connections in Flowpipe, please see [Managing Connections](https://flowpipe.io/docs/run/connections).\n\n### Usage\n\n[Initialize a mod](https://flowpipe.io/docs/build/index#initializing-a-mod):\n\n```sh\nmkdir my_mod\ncd my_mod\nflowpipe mod init\n```\n\n[Install the GitHub mod](https://flowpipe.io/docs/build/mod-dependencies#mod-dependencies) as a dependency:\n\n```sh\nflowpipe mod install github.com/turbot/flowpipe-mod-github\n```\n\n[Use the dependency](https://flowpipe.io/docs/build/write-pipelines/index) in a pipeline step:\n\n```sh\nvi my_pipeline.fp\n```\n\n```hcl\npipeline \"my_pipeline\" {\n\n  step \"pipeline\" \"list_pull_requests\" {\n    pipeline = github.pipeline.list_pull_requests\n    args = {\n      repository_owner = \"turbot\"\n      repository_name  = \"flowpipe\"\n    }\n  }\n}\n```\n\n[Run the pipeline](https://flowpipe.io/docs/run/pipelines):\n\n```sh\nflowpipe pipeline run my_pipeline\n```\n\n### Developing\n\nClone:\n\n```sh\ngit clone https://github.com/turbot/flowpipe-mod-github.git\ncd flowpipe-mod-github\n```\n\nList pipelines:\n\n```sh\nflowpipe pipeline list\n```\n\nRun a pipeline:\n\n```sh\nflowpipe pipeline run get_issue_by_number --arg 'issue_number=3997' --arg 'repository_owner=turbot' --arg 'repository_name=flowpipe'\n```\n\nTo use a specific `connection`, specify the `conn` pipeline argument:\n\n```sh\nflowpipe pipeline run get_issue_by_number --arg 'issue_number=3997' --arg 'repository_owner=turbot' --arg 'repository_name=flowpipe' --arg conn=connection.github.github_profile\n```\n\nFor more examples on how you can run pipelines, please see [Run Pipelines](https://flowpipe.io/docs/run/pipelines).\n\n## Open Source \u0026 Contributing\n\nThis repository is published under the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0). Please see our [code of conduct](https://github.com/turbot/.github/blob/main/CODE_OF_CONDUCT.md). We look forward to collaborating with you!\n\n[Flowpipe](https://flowpipe.io) is a product produced from this open source software, exclusively by [Turbot HQ, Inc](https://turbot.com). It is distributed under our commercial terms. Others are allowed to make their own distribution of the software, but cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our [Open Source FAQ](https://turbot.com/open-source).\n\n## Get Involved\n\n**[Join #flowpipe on Slack →](https://flowpipe.io/community/join)**\n\nWant to help but not sure where to start? Pick up one of the `help wanted` issues:\n\n- [Flowpipe](https://github.com/turbot/flowpipe/labels/help%20wanted)\n- [GitHub Mod](https://github.com/turbot/flowpipe-mod-github/labels/help%20wanted)\n","funding_links":[],"categories":["HCL"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbot%2Fflowpipe-mod-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturbot%2Fflowpipe-mod-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbot%2Fflowpipe-mod-github/lists"}