{"id":28475256,"url":"https://github.com/eighty4/model-t","last_synced_at":"2026-01-16T03:33:24.054Z","repository":{"id":294995687,"uuid":"987254807","full_name":"eighty4/model-t","owner":"eighty4","description":"Validating workflows for GitHub Actions","archived":false,"fork":false,"pushed_at":"2026-01-12T20:07:39.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T01:18:53.655Z","etag":null,"topics":["github-actions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eighty4.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-20T20:01:41.000Z","updated_at":"2026-01-12T20:08:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"e876ee09-c28d-41fc-97e5-cd77bb53a012","html_url":"https://github.com/eighty4/model-t","commit_stats":null,"previous_names":["eighty4/model-t"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/eighty4/model-t","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eighty4%2Fmodel-t","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eighty4%2Fmodel-t/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eighty4%2Fmodel-t/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eighty4%2Fmodel-t/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eighty4","download_url":"https://codeload.github.com/eighty4/model-t/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eighty4%2Fmodel-t/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"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-actions"],"created_at":"2025-06-07T14:05:48.679Z","updated_at":"2026-01-16T03:33:24.047Z","avatar_url":"https://github.com/eighty4.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# model-t\n\n\u003e \"Make the best quality goods possible\"\n\u003e\n\u003e - Henry Ford'\n\nThe npm package `@eighty4/model-t` ships a CLI and APIs for validating GitHub\nActions workflows. Workflows are validated for schema and runtime behavior and\ncan be easily integrated into git hooks for immediate feedback.\n\n## Validating workflows\n\n```bash\n# install with npm\nnpm i -g @eighty4/model-t\n\nmodel-t -h\n\n# validate a workflow\nmodel-t .github/workflows/publish.yml\n\n# validate all workflows in .github/workflows\nmodel-t .\n```\n\n## Using with git hooks\n\n### Validating on `git push`\n\nUse this script as your push hook by writing it to `.git/hooks/pre-push`. Any\npushes with changes to your GitHub Workflows will run `model-t .` to validate\nyour updates.\n\n```bash\n#!/bin/sh\nset -e\n\nread -a _input\n_changes=$(git diff --name-only ${_input[1]} ${_input[3]})\nif echo \"$_changes\" | grep -Eq \"^\\.github/workflows/.*?\\.ya?ml$\"; then\n    model-t .\nfi\n```\n\n### Validating on `git commit`\n\nThis script at `.git/hooks/pre-commit` will check the output of `git status`\nfor changes to GitHub Workflows and run `model-t .` to validate your updates.\n\n```bash\n#!/bin/sh\nset -e\n\n_changes=$(git status)\nif echo \"$_changes\" | grep -Eq \"\\.github/workflows/.*?\\.ya?ml\"; then\n    model-t .\nfi\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feighty4%2Fmodel-t","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feighty4%2Fmodel-t","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feighty4%2Fmodel-t/lists"}