{"id":50337235,"url":"https://github.com/playfaster/.github","last_synced_at":"2026-06-14T22:01:17.481Z","repository":{"id":356795223,"uuid":"1234096681","full_name":"PlayFaster/.github","owner":"PlayFaster","description":"Shared Files for Project Validation","archived":false,"fork":false,"pushed_at":"2026-06-10T20:46:05.000Z","size":25,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-10T22:20:26.768Z","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/PlayFaster.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2026-05-09T18:40:48.000Z","updated_at":"2026-06-10T20:45:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/PlayFaster/.github","commit_stats":null,"previous_names":["playfaster/.github"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/PlayFaster/.github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlayFaster%2F.github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlayFaster%2F.github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlayFaster%2F.github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlayFaster%2F.github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlayFaster","download_url":"https://codeload.github.com/PlayFaster/.github/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlayFaster%2F.github/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34339195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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-05-29T14:30:24.740Z","updated_at":"2026-06-14T22:01:17.474Z","avatar_url":"https://github.com/PlayFaster.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# PlayFaster/.github\n\n[![Latest Release](https://img.shields.io/github/v/release/PlayFaster/.github?label=Release\u0026logo=github)](https://github.com/PlayFaster/.github/releases) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Last Commit](https://img.shields.io/github/last-commit/PlayFaster/.github?label=Last%20commit)](https://github.com/PlayFaster/.github/commits/main)\n\nShared GitHub configuration for **PlayFaster Home Assistant integrations** — reusable workflows and Dependabot config consumed by all integration repos.\n\n## 📋 Table of Contents\n\n- [PlayFaster/.github](#playfastergithub)\n  - [📋 Table of Contents](#-table-of-contents)\n  - [🔧 Reusable Workflows](#-reusable-workflows)\n  - [✅ Validation Jobs](#-validation-jobs)\n  - [🔄 Dependabot](#-dependabot)\n  - [📄 License](#-license)\n\n## 🔧 Reusable Workflows\n\n### `validate.yaml`\n\nRuns the full validation suite for a Home Assistant custom integration. Called by each integration repo's own `validate.yaml` via `workflow_call`.\n\n### **Inputs**\n\n| Input | Required | Description |\n| :-- | :-- | :-- |\n| `component_name` | Yes | Component directory name (e.g., `wifi_ssid_monitor`) |\n| `gist_id` | Yes | Gist ID for the dynamic coverage badge |\n\n### **Secrets**\n\n| Secret | Required | Description |\n| :-- | :-- | :-- |\n| `GIST_SECRET` | Yes | GitHub token with gist write access |\n\n### **Usage**\n\nPin to a full commit SHA for immutability — tags can be moved, but a SHA is permanent. Record the corresponding branch and version in a comment:\n\n```yaml\njobs:\n  validate:\n    permissions:\n      contents: write # Required by test_val for coverage badge gist update\n      pull-requests: write # Required by test_val for PR comments\n    # Branch @main v1.0.8\n    uses: PlayFaster/.github/.github/workflows/validate.yaml@ddb23280981992a44fbba00fe6a12ad41e502332\n    with:\n      component_name: wifi_ssid_monitor\n      gist_id: \u003cyour-gist-id\u003e\n    secrets:\n      GIST_SECRET: ${{ secrets.GIST_SECRET }}\n```\n\n\u003e [!NOTE]\n\u003e\n\u003e The calling repo must supply a `.validate/` directory containing:\n\u003e\n\u003e - `requirements_test.txt` — test dependencies\n\u003e - `hacs_schema.json` and `ha_manifest_schema.json` — JSON schemas for the file integrity job\n\u003e - `.prettierrc.json` — Prettier config covering `*.md`, `*.json`, `*.yaml`, `*.yml`\n\n## ✅ Validation Jobs\n\n| Job | Tool | Blocking |\n| :-- | :-- | :-- |\n| `hassfest` | `home-assistant/actions/hassfest` | Yes |\n| `hacs_val` | `hacs/action` | Yes |\n| `py_val` | Ruff `0.15.15` | Yes |\n| `test_val` | pytest + coverage badge (Gist) | Yes |\n| `file_val` | check-jsonschema, yamllint, Prettier `3.6.2`, markdown-link-check | Yes |\n| `codespell` | `codespell-project/actions-codespell` | Yes |\n| `zizmor` | Zizmor `1.25.2` (workflow security audit) | No |\n| `mypy_val` | Mypy `2.1.0` | No |\n\nAll `uses:` references are pinned to a full SHA. The human-readable tag is noted in a comment on the preceding line.\n\n## 🔄 Dependabot\n\nMonitors `github-actions`, `pip`, and `pre-commit` ecosystems on a **weekly** schedule with a 7-day cooldown between updates.\n\n## 📄 License\n\n[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nThis project is licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayfaster%2F.github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplayfaster%2F.github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayfaster%2F.github/lists"}