{"id":46300201,"url":"https://github.com/eidp/actions-template","last_synced_at":"2026-03-04T11:02:09.048Z","repository":{"id":323676495,"uuid":"1094175339","full_name":"eidp/actions-template","owner":"eidp","description":"Repository containing GitHub Actions for building EIDP templates","archived":false,"fork":false,"pushed_at":"2026-02-24T11:56:58.000Z","size":109,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-24T16:45:23.677Z","etag":null,"topics":["actions","github-actions","template"],"latest_commit_sha":null,"homepage":"","language":null,"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/eidp.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":"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":"2025-11-11T11:05:53.000Z","updated_at":"2026-02-24T11:57:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/eidp/actions-template","commit_stats":null,"previous_names":["eidp/actions-template"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/eidp/actions-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidp%2Factions-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidp%2Factions-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidp%2Factions-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidp%2Factions-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eidp","download_url":"https://codeload.github.com/eidp/actions-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidp%2Factions-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30078408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["actions","github-actions","template"],"created_at":"2026-03-04T11:02:08.270Z","updated_at":"2026-03-04T11:02:09.030Z","avatar_url":"https://github.com/eidp.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template actions\n\nThis repository contains actions and reusable workflows for building EIDP templates.\n\n## Template and rendered template flow\n\nThe actions in this repository facilitate the process of keeping rendered templates up to date with changes made to their source templates so we have immediate feedback whether the template changes work as expected.\nThe diagram below illustrates the flow between the template repository, the rendered template repository, and the update process using the provided actions and workflows.\n\n```mermaid\ngraph TB\n    subgraph \"Template Repo\"\n        A[\u003cstrong\u003etypescript-react-template\u003c/strong\u003e\u003cbr/\u003eContains cookiecutter.json\u003cbr/\u003eand template files]\n        B[Changes to template]\n    end\n\n    subgraph \"Rendered Template Repo\"\n        C[\u003cstrong\u003etypescript-react\u003c/strong\u003e\u003cbr/\u003eProject created with cruft]\n        D[.cruft.json\u003cbr/\u003eLinks to template repo]\n    end\n\n    subgraph \"Update Process\"\n        E[Create PR in template repo]\n        F[\"\u003cstrong\u003eupdate-rendered-template\u003c/strong\u003e\u003cbr/\u003e\u003cem\u003eaction\u003c/em\u003e\u003cbr/\u003eClones rendered repo\u003cbr/\u003eRuns cruft update\"]\n        G[\"\u003cstrong\u003ecreate-rendered-template-pr\u003c/strong\u003e\u003cbr/\u003e\u003cem\u003eaction\u003c/em\u003e\u003cbr/\u003eCreates PR in rendered template repo\"]\n        I[\"\u003cstrong\u003emonitor-rendered-template-workflow-status\u003c/strong\u003e\u003cbr/\u003e\u003cem\u003eaction\u003c/em\u003e\u003cbr/\u003eMonitors the pipeline of the rendered template PR\"]\n        J[Review template repo PR and merge or close]\n        H[\"\u003cstrong\u003eauto-manage-rendered-template-pr\u003c/strong\u003e\u003cbr/\u003e\u003cem\u003eworkflow\u003c/em\u003e\u003cbr/\u003eMerges or closes PR\u003cbr/\u003eUpdates .cruft.json after merge\"]\n    end\n\n    subgraph Legend\n        L1[Template repository]\n        L2[Rendered repository]\n        L3[GitHub action]\n        L4[Reusable workflow]\n    end\n\n    A --\u003e|cruft create,one time manual action to initialize| C\n    C --\u003e|maintains link via| D\n    B --\u003e E\n    E --\u003e |triggers| F\n    F --\u003e|if successful| G\n    G --\u003e |if successful|I\n    I --\u003e |if successful|J\n    J --\u003e |PR merged or closed|H\n    H --\u003e|new template updates applied to rendered template repo| C\n    D -.-\u003e|tracks template commit| A\n\n    style A fill:#e1f5ff\n    style C fill:#fff5e1\n    style D fill:#fff5e1\n    style F fill:#d4f1d4\n    style G fill:#d4f1d4\n    style H fill:#e8d4f1\n    style I fill:#d4f1d4\n    style L1 fill:#e1f5ff\n    style L2 fill:#fff5e1\n    style L3 fill:#d4f1d4\n    style L4 fill:#e8d4f1\n```\n\n### How it works\n\n-  **Template repository** (e.g., `typescript-react-template`) contains the cookiecutter template with `{{cookiecutter.*}}` variables\n-  **Rendered repository** (e.g., `typescript-react`) is created using `cruft create` and maintains a `.cruft.json` file linking back to the template\n\n1. When a PR is created on the **template repository**, the `update-rendered-template` action uses cruft to apply the changes that the PR contains to a clone of the **rendered repository**. This triggers the `create-rendered-template-pr`.\n1. The `create-rendered-template-pr` action creates a PR in the **rendered repository** with the updates.\n1. The `monitor-rendered-template-workflow-status` is triggered and monitors the rendered template workflow status.\n1. The PR on the **template repository** is reviewed by a team member and merged or closed, and triggers the `auto-manage-rendered-template-pr` workflow.\n1. The `auto-manage-rendered-template-pr` workflow mirrors the **template repository** PR status to the **rendered repository** PR (merged -\u003e merged, closed -\u003e closed). It also updates the `.cruft.json` file to point to the latest commit in the template repository after merging.\n\n\u003c!-- BEGIN ACTIONS --\u003e\n\n## 🛠️ GitHub Actions\n\nThe following GitHub Actions are available in this repository:\n\n- [create-rendered-template-pr](create-rendered-template-pr/README.md)\n- [monitor-rendered-template-workflow-status](monitor-rendered-template-workflow-status/README.md)\n- [test-template](test-template/README.md)\n- [update-rendered-template](update-rendered-template/README.md)\n\n\u003c!-- END ACTIONS --\u003e\n\n\u003c!-- BEGIN SHARED WORKFLOWS --\u003e\n\n## 📚 Shared Workflows\n\nThe following reusable workflows are available in this repository:\n\n- [auto-manage-rendered-template-pr](./.github/workflows/README.md#auto-manage-rendered-template-pr-workflow)\n\n\u003c!-- END SHARED WORKFLOWS --\u003e\n\n## Development\n\n### Pre-commit hooks\n\nTo ensure code quality and consistency, this repository uses\n[pre-commit](https://pre-commit.com/) hooks. Make sure to install the pre-commit\nhooks by running:\n\n```bash\npre-commit install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feidp%2Factions-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feidp%2Factions-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feidp%2Factions-template/lists"}