{"id":45187793,"url":"https://github.com/cycleplatform/pipeline-trigger-action","last_synced_at":"2026-02-20T11:04:47.344Z","repository":{"id":275355469,"uuid":"925261460","full_name":"cycleplatform/pipeline-trigger-action","owner":"cycleplatform","description":"Trigger a pipeline on Cycle as a Github Action","archived":false,"fork":false,"pushed_at":"2025-05-28T00:06:42.000Z","size":686,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-28T01:19:04.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/cycleplatform.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2025-01-31T14:43:45.000Z","updated_at":"2025-05-28T00:05:53.000Z","dependencies_parsed_at":"2025-02-01T22:38:24.845Z","dependency_job_id":null,"html_url":"https://github.com/cycleplatform/pipeline-trigger-action","commit_stats":null,"previous_names":["cycleplatform/pipeline-trigger-action"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cycleplatform/pipeline-trigger-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycleplatform%2Fpipeline-trigger-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycleplatform%2Fpipeline-trigger-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycleplatform%2Fpipeline-trigger-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycleplatform%2Fpipeline-trigger-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cycleplatform","download_url":"https://codeload.github.com/cycleplatform/pipeline-trigger-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycleplatform%2Fpipeline-trigger-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29648489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-02-20T11:04:47.282Z","updated_at":"2026-02-20T11:04:47.335Z","avatar_url":"https://github.com/cycleplatform.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cycle Pipeline Github Action\n\n\u003ca href=\"https://cycle.io\"\u003e\n\u003cpicture class=\"red\"\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://cycle.io/global/resources/images/logos/cycle-logo-white.svg\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://static.cycle.io/icons/logo/cycle-logo-fullcolor.svg\"\u003e\n  \u003cimg alt=\"cycle\" width=\"300px\" src=\"https://static.cycle.io/icons/logo/cycle-logo-fullcolor.svg\"\u003e\n\u003c/picture\u003e\n\u003c/a\u003e\n\n### **Trigger a pipeline on Cycle using a GitHub Action**\n\nThis GitHub Action allows you to [**trigger a pipeline on Cycle.io**](https://cycle.io/docs/platform/introduction-to-pipelines), pass variables, and track the execution **step-by-step** with detailed logging.\n\n---\n\n## 📖 **How It Works**\n\n✅ Triggers a Cycle pipeline using the provided **Pipeline ID**  \n✅ Passes optional **variables** and **advanced settings**  \n✅ **Tracks each step** as it progresses  \n✅ Logs when **each step starts and completes**  \n✅ **Fails fast** if a step fails\n\n---\n\n## 📌 **Usage**\n\n### **1️⃣ Add this Action to Your Workflow**\n\nCreate (or update) your GitHub Actions workflow file (e.g., `.github/workflows/cycle-pipeline.yml`):\n\n```yaml\nname: Run Cycle Pipeline\n\non:\n    workflow_dispatch: # Allows manual triggering from the GitHub UI\n\njobs:\n    deploy:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout Repository\n              uses: actions/checkout@v3\n\n            - name: Track Cycle Pipeline\n              uses: cycleplatform/pipeline-trigger-action@v0.5.8\n              with:\n                  api_key: ${{ secrets.CYCLE_API_KEY }}\n                  hub_id: ${{ secrets.CYCLE_HUB_ID }}\n                  pipeline_id: \"your-pipeline-id\"\n                  variables: |\n                      {\n                        \"version\": \"1.2.3\",\n                        \"feature_flag\": \"true\"\n                      }\n                  advanced: |\n                      {\n                        \"sub_queue\": \"custom-queue\",\n                        \"skip_locks\": 1\n                      }\n```\n\n---\n\n## ⚙️ **Inputs**\n\n| Name          | Required | Description                                                      |\n| ------------- | -------- | ---------------------------------------------------------------- |\n| `api_key`     | ✅ Yes   | Your Cycle API Key                                               |\n| `hub_id`      | ✅ Yes   | Your Cycle Hub ID                                                |\n| `pipeline_id` | ✅ Yes   | The Cycle Pipeline ID to trigger                                 |\n| `variables`   | ❌ No    | JSON string of key-value pairs for pipeline variables (optional) |\n| `advanced`    | ❌ No    | JSON string for advanced pipeline settings (optional)            |\n\n---\n\n## 📜 **Example Output in GitHub Actions Logs**\n\nWhen the action runs, you’ll see detailed logs:\n\n```\n🚀 Triggering pipeline: 'Deploy to Staging'\n✅ Pipeline triggered successfully! Run ID: 67927ee3fb6a5cc6e0a5a177\n⏳ Step started [Stage 1, Step 1]: stack.build.create\n✅ Step completed [Stage 1, Step 1]: stack.build.create\n⏳ Step started [Stage 1, Step 2]: image.create-import\n✅ Step completed [Stage 1, Step 2]: image.create-import\n🎉 Pipeline run completed successfully!\n```\n\n✅ **Logs each step's start and completion**  \n✅ **Identifies the stage and step index**  \n✅ **Fails early if a step fails**\n\n---\n\n## ❓ **Troubleshooting**\n\n### 🔴 **Pipeline doesn't start**\n\n-   Ensure **`pipeline_id`** is correct.\n-   Verify **API key** is valid.\n\n---\n\n## 📄 **License**\n\nThis GitHub Action is **open-source** under the [Apache 2.0 License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycleplatform%2Fpipeline-trigger-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcycleplatform%2Fpipeline-trigger-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycleplatform%2Fpipeline-trigger-action/lists"}