{"id":42980916,"url":"https://github.com/fhem/fhem-controls-actions","last_synced_at":"2026-01-31T01:44:39.026Z","repository":{"id":36969417,"uuid":"223483595","full_name":"fhem/fhem-controls-actions","owner":"fhem","description":"Creates FHEM controls file via github actions","archived":false,"fork":false,"pushed_at":"2025-12-12T05:42:40.000Z","size":13982,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-13T14:29:06.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/fhem.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}},"created_at":"2019-11-22T20:45:11.000Z","updated_at":"2025-12-12T05:42:44.000Z","dependencies_parsed_at":"2023-11-06T06:25:52.576Z","dependency_job_id":"5dd8f100-5a6e-4cf3-b6d2-7b54d626aed9","html_url":"https://github.com/fhem/fhem-controls-actions","commit_stats":{"total_commits":227,"total_committers":4,"mean_commits":56.75,"dds":0.3700440528634361,"last_synced_commit":"bf005922117e57a93f4bc43a98e70245eb809403"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/fhem/fhem-controls-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Ffhem-controls-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Ffhem-controls-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Ffhem-controls-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Ffhem-controls-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fhem","download_url":"https://codeload.github.com/fhem/fhem-controls-actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Ffhem-controls-actions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28926504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"ssl_error","status_checked_at":"2026-01-30T22:32:31.927Z","response_time":66,"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":[],"created_at":"2026-01-31T01:44:38.936Z","updated_at":"2026-01-31T01:44:38.995Z","avatar_url":"https://github.com/fhem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fhem-controls-actions JavaScript action (Version 2)\r\n\r\nThis action creates FHEM controls file via github actions which is compatible with `update all \u003curl\u003e` and `update add \u003curl\u003e` command.\r\nMore details about this command at the [Fhem Wiki](https://wiki.fhem.de/wiki/Update#update_all).\r\n\r\n## Inputs\r\n\r\n### `filename`\r\n\r\n**Required** The name of controls file. Should be named `controls_\u003cproject/module\u003e.txt`\r\n\r\n### `directory`\r\n\r\n**Optional** The name of the directory where the files are located which should be updated `FHEM`\r\n\r\n### `extension`\r\n\r\n**Optional** The file extension which should be included in the controls file. Normaly `.pm` for Perl Modules.\r\nYou can specify multiple extions by separing them with '|'. To get all '.pm' and all '.json' files you can write '.pm|.json'. \r\n\r\n**Note**: The extemsion string itself will be interpreded as a regex which acts as a filter on the files. The filename must end with one of the given extions. Dots are always escaped and interpreded as a dot and not as a wildcard for any char.\r\n\r\n### `writemode`\r\n\r\n**Optional** You can controle the writemode which is used to open the file. Default w, which will create or truncate the controls file.\r\nIf you want to append data, to an existing controls file, then you can specify the value a for writemode.\r\n\r\n## Outputs\r\n### `controls_content`\r\nSame content which is also written into the controls file\r\n\r\n\r\n## Example usage\r\n1. Checkout the repository\r\n\r\n```\r\n    steps: \r\n    - name: Checkout Repostory\r\n      uses: actions/checkout@v3\r\n      with:\r\n        fetch-depth: 0\r\n\r\n```\r\n\r\n2. You can create the controls file\r\n```\r\n    - name: update controls files\r\n      uses: fhem/fhem-controls-actions@v2.1.0\r\n      with:\r\n        filename: controls_rsl.txt \r\n```\r\n...\r\nPush back the changes via https://github.com/marketplace/actions/github-push\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhem%2Ffhem-controls-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffhem%2Ffhem-controls-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhem%2Ffhem-controls-actions/lists"}