{"id":35800105,"url":"https://github.com/andrewmcodes/test-workflow-runs-actions","last_synced_at":"2026-01-07T11:01:16.905Z","repository":{"id":320834373,"uuid":"1083500073","full_name":"andrewmcodes/test-workflow-runs-actions","owner":"andrewmcodes","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-26T07:30:53.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-26T08:23:47.720Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"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/andrewmcodes.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":null,"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},"funding":{"github":["andrewmcodes"]}},"created_at":"2025-10-26T06:28:56.000Z","updated_at":"2025-10-26T07:30:36.000Z","dependencies_parsed_at":"2025-10-26T08:33:52.271Z","dependency_job_id":null,"html_url":"https://github.com/andrewmcodes/test-workflow-runs-actions","commit_stats":null,"previous_names":["andrewmcodes/test-workflow-runs-actions"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/andrewmcodes/test-workflow-runs-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Ftest-workflow-runs-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Ftest-workflow-runs-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Ftest-workflow-runs-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Ftest-workflow-runs-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewmcodes","download_url":"https://codeload.github.com/andrewmcodes/test-workflow-runs-actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Ftest-workflow-runs-actions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28234796,"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","status":"online","status_checked_at":"2026-01-07T02:00:05.975Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-01-07T11:00:44.306Z","updated_at":"2026-01-07T11:01:16.888Z","avatar_url":"https://github.com/andrewmcodes.png","language":null,"funding_links":["https://github.com/sponsors/andrewmcodes"],"categories":[],"sub_categories":[],"readme":"# test-workflow-runs-actions\n\nThis repository contains GitHub Actions workflows to test the `workflow_run` trigger functionality.\n\n## Workflows\n\n### CI Workflow (`.github/workflows/ci.yml`)\n- **Triggers**: \n  - Runs on push to `main` branch\n  - Can be manually triggered via `workflow_dispatch`\n- **Purpose**: Simulates CI workflow for testing with configurable success/failure status\n- **Behavior**: \n  - By default, prints \"Running test CI\" and succeeds (`exit 0`)\n  - When triggered manually via workflow_dispatch, accepts a `should_fail` input parameter:\n    - `false` (default): Workflow succeeds\n    - `true`: Workflow fails (`exit 1`)\n\n### Notify on Failure Workflow (`.github/workflows/notify_on_failure.yml`)\n- **Trigger**: Runs when the \"CI\" workflow completes on `main` branch\n- **Purpose**: Demonstrates `workflow_run` trigger with failure condition\n- **Behavior**: Only executes when CI fails, prints \"CI failed on main → triggering secondary workflow\"","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmcodes%2Ftest-workflow-runs-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewmcodes%2Ftest-workflow-runs-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmcodes%2Ftest-workflow-runs-actions/lists"}