{"id":44649836,"url":"https://github.com/datavisyn/github-action-trigger-workflow","last_synced_at":"2026-02-14T20:40:42.210Z","repository":{"id":41184512,"uuid":"508652732","full_name":"datavisyn/github-action-trigger-workflow","owner":"datavisyn","description":"github action to trigger workflow and wait til it is finished","archived":false,"fork":false,"pushed_at":"2026-02-02T11:31:26.000Z","size":29,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-11T17:26:10.332Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datavisyn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-29T10:53:47.000Z","updated_at":"2025-11-13T13:04:00.000Z","dependencies_parsed_at":"2024-11-04T10:37:07.880Z","dependency_job_id":null,"html_url":"https://github.com/datavisyn/github-action-trigger-workflow","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"cdbc7688b9d6c1019b5ac11d60d274204408e1fb"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/datavisyn/github-action-trigger-workflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datavisyn%2Fgithub-action-trigger-workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datavisyn%2Fgithub-action-trigger-workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datavisyn%2Fgithub-action-trigger-workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datavisyn%2Fgithub-action-trigger-workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datavisyn","download_url":"https://codeload.github.com/datavisyn/github-action-trigger-workflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datavisyn%2Fgithub-action-trigger-workflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29455362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"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-14T20:40:39.082Z","updated_at":"2026-02-14T20:40:42.205Z","avatar_url":"https://github.com/datavisyn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trigger Workflow and Wait\n\nGithub Action for trigger a workflow from another workflow. The action then waits for a response.\nsee: \u003chttps://github.com/datavisyn/github-action-trigger-workflow/blob/main/README.md\u003e\n\nsee also \u003chttps://github.com/convictional/trigger-workflow-and-wait\u003e\nbased on \u003chttps://github.com/convictional/github-action-trigger-workflow\u003e\n\n**When would you use it?**\n\nWhen deploying an app you may need to deploy additional services, this Github Action helps with that.\n\n## Arguments\n\n| Argument Name            | Required   | Default     | Description           |\n| ---------------------    | ---------- | ----------- | --------------------- |\n| `owner`                  | True       | N/A         | The owner of the repository where the workflow is contained. |\n| `repo`                   | True       | N/A         | The repository where the workflow is contained. |\n| `github_token`           | True       | N/A         | The Github access token with access to the repository. Its recommended you put it under secrets. |\n| `workflow_file_name`     | True       | N/A         | The reference point. For example, you could use main.yml. |\n| `github_user`            | False      | N/A         | The name of the github user whose access token is being used to trigger the workflow. |\n| `ref`                    | False      | main        | The reference of the workflow run. The reference can be a branch, tag, or a commit SHA. |\n| `wait_interval`          | False      | 10          | The number of seconds delay between checking for result of run. |\n| `client_payload`         | False      | `{}`        | Payload to pass to the workflow, must be a JSON string |\n| `propagate_failure`      | False      | `true`      | Fail current job if downstream job fails. |\n| `trigger_workflow`       | False      | `true`      | Trigger the specified workflow. |\n| `wait_workflow`          | False      | `true`      | Wait for workflow to finish. |\n| `comment_downstream_url` | False      | ``          | A comments API URL to comment the current downstream job URL to. Default: no comment |\n| `comment_github_token`   | False      | `${{github.token}}`          | token used for pull_request comments |\n\n## Outputs\n\n| Output Name   | 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| `conclusion` | The conclusion of the workflow that was triggered by this action |\n\n## Example\n\n### Simple\n\n```yaml\n- uses: ./.github/actions/github-action-trigger-workflow\n  with:\n    owner: datavisyn\n    repo: myrepo\n    github_token: ${{ secrets.GITHUB_PERSONAL_ACCESS_TOKEN }}\n```\n\n### All Options\n\n```yaml\n- uses: ./.github/actions/github-action-trigger-workflow\n  with:\n    owner: datavisyn\n    repo: myrepo\n    github_token: ${{ secrets.GITHUB_PERSONAL_ACCESS_TOKEN }}\n    github_user: github-user\n    workflow_file_name: main.yml\n    ref: release-branch\n    wait_interval: 10\n    client_payload: '{}'\n    propagate_failure: false\n    trigger_workflow: true\n    wait_workflow: true\n```\n\n### Comment the current running workflow URL for a PR\n\n```yaml\n- uses: ./.github/actions/github-action-trigger-workflow\n  with:\n    owner: datavisyn\n    repo: myrepo\n    github_token: ${{ secrets.GITHUB_PERSONAL_ACCESS_TOKEN }}\n    comment_downstream_url: ${{ github.event.pull_request.comments_url }}\n```\n\n## Testing\n\nYou can test out the action locally by cloning the repository to your computer. You can run:\n\n```shell\nINPUT_OWNER=\"datavisyn\" \\\nINPUT_REPO=\"myrepo\" \\\nINPUT_GITHUB_TOKEN=\"\u003cREDACTED\u003e\" \\\nINPUT_GITHUB_USER=\"github-user\" \\\nINPUT_WORKFLOW_FILE_NAME=\"main.yml\" \\\nINPUT_REF=\"release-branch\" \\\nINPUT_WAIT_INTERVAL=10 \\\nINPUT_CLIENT_PAYLOAD='{}' \\\nINPUT_PROPAGATE_FAILURE=false \\\nINPUT_TRIGGER_WORKFLOW=true \\\nINPUT_WAIT_WORKFLOW=true \\\nbusybox sh entrypoint.sh\n```\n\nYou will have to create a Github Personal access token. You can create a test workflow to be executed. In a repository, add a new `main.yml` to `.github/workflows/`. The workflow will be:\n\n```shell\nname: Main\non:\n  workflow_dispatch\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@main\n      - name: Pause for 25 seconds\n        run: |\n          sleep 25\n```\n\nYou can see the example [here](https://github.com/keithconvictional/trigger-workflow-and-wait-example-repo1/blob/master/.github/workflows/main.yml). For testing a failure case, just add this line after the sleep:\n\n```yaml\n...\n- name: Pause for 25 seconds\n  run: |\n    sleep 25\n    echo \"For testing failure\"\n    exit 1\n```\n    exit 1\n```\n\n## Potential Issues\n\n### Changes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatavisyn%2Fgithub-action-trigger-workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatavisyn%2Fgithub-action-trigger-workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatavisyn%2Fgithub-action-trigger-workflow/lists"}