{"id":17493326,"url":"https://github.com/ironsource/action-trigger-workflow","last_synced_at":"2026-05-16T21:02:11.254Z","repository":{"id":45474704,"uuid":"436215281","full_name":"ironSource/action-trigger-workflow","owner":"ironSource","description":"Trigger GitHub action workflow file from another repo and wait until it will be done.","archived":false,"fork":false,"pushed_at":"2022-08-25T15:24:40.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-21T14:52:02.943Z","etag":null,"topics":["github-action","github-actions"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ironSource.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}},"created_at":"2021-12-08T11:02:39.000Z","updated_at":"2021-12-19T14:14:11.000Z","dependencies_parsed_at":"2023-01-16T16:45:19.277Z","dependency_job_id":null,"html_url":"https://github.com/ironSource/action-trigger-workflow","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":"0.16666666666666663","last_synced_commit":"01d387cf3dd9111a47c19f4950a67ab3cab91eb6"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ironSource/action-trigger-workflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Faction-trigger-workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Faction-trigger-workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Faction-trigger-workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Faction-trigger-workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ironSource","download_url":"https://codeload.github.com/ironSource/action-trigger-workflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Faction-trigger-workflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33118950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: 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":["github-action","github-actions"],"created_at":"2024-10-19T12:06:33.177Z","updated_at":"2026-05-16T21:02:11.201Z","avatar_url":"https://github.com/ironSource.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-trigger-workflow\nTrigger GitHub action workflow file from another repo and wait to it will be done.\n\n## Example usage\n\nHere is an example setup of this action:\n\n1. Create a `.github/workflows/ci-initiator.yml` file in your GitHub repo.\n2. Add the following code to the file.\n\n```yml\nname: CI-Initiator\n\non:\n  push:\n\njobs:\n  startCI:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate Unique runer id\n        id: vars\n        run: |\n          echo ::set-output name=sha_short::${GITHUB_SHA::7}\n          echo ::set-output name=uuid::${{github.ref_name}}:${GITHUB_SHA::7}:${GITHUB_RUN_ID}\n\n      - name: Trigger Remote Action\n        uses: AndyKIron/trigger-action-workflow@v1\n        with:\n          owner: REMOTE_REPO_OWNER # remote repository owner\n          repo: REMOTE_REPO_NAME #remote repository name\n          github_token: ${{ secrets.PAT_TOKEN }} # your token\n          workflow_file_name: ci.yml # remote action workflow file name\n          job_uuid: \"${{ steps.vars.outputs.uuid }}\"\n          inputs: '{ \"branch_name\": \"${{github.ref_name}}\", \"user\": \"${{github.actor}}\", \"uuid\": \"${{ steps.vars.outputs.uuid }}\", \"sha\": \"${{ steps.vars.outputs.sha_short }}\", \"event_name\": \"${{github.event_name}}\", \"event_action\": \"${{github.event.action}}\"}'\n```\n\n### Inputs (with)\n\n| Variable           |          | Purpose                                                                                                |\n|--------------------|----------|--------------------------------------------------------------------------------------------------------|\n| owner              | required | Remote repository owner name                                                                           |\n| repo               | required | Remote repository name                                                                                 |\n| github_token       | required | Generated Personal Access Token                                                                        |\n| workflow_file_name | required | Remote action workflow filename (with .extension)                                                      |\n| job_uuid           | required | Unique string to identify the running remote action workflow                                           |\n| inputs             | required | JSON for remote action inputs                                                                          |\n| ref                | false    | The reference of the workflow run. The reference can be a branch, tag, or a commit SHA. Default \"main\" |\n| wait_interval      | false    | The number of seconds delay between checking for result of run. Default - 10 sec                       |\n| propagate_failure  | false    | Fail current job if downstream job fails. Default - true                                               |\n| wait_workflow      | false    | Wait for workflow to finish. Default - true                                                            |\n| monitored_job_name      | false    | Job name to monitor and return job id for.|\n\n### Outputs:\n| Variable          | Description         |\n|-------------------|----------|\n| workflow_id       | The ID of the workflow that was triggered by this action |\n| workflow_url      | The URL of the workflow that was triggered by this action |\n| job_id            | The Job Id of the requested job to monitor, if none provided then null |\n\n\n3. On remote target action workflow file (ci.yml for example) you need add needed inputs\n4. And one (first) stem must have \"name:\" with \"job_uuid\"\n\n```yml\nname: CI-Starter\n\non:\n  workflow_dispatch:\n    inputs:\n      branch_name:\n        required: true\n      user:\n        required: true\n      job_uuid:\n        required: true\n\njobs:\n  # --- Do Job Initiator for ci_initiator can find it in from API in jpb name\n  ci-init:\n    name: 'CI-Init::${{ github.event.inputs.job_uuid }}'\n    runs-on: ubuntu-latest\n    steps:\n      - run: |\n          echo \"Start CI for ${{ github.event.inputs.user }}:${{ github.event.inputs.job_uuid }}\"\n  ...\n  ...\n  ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironsource%2Faction-trigger-workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironsource%2Faction-trigger-workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironsource%2Faction-trigger-workflow/lists"}