{"id":15791238,"url":"https://github.com/levonet/action-config-blanks","last_synced_at":"2025-07-30T14:05:58.299Z","repository":{"id":48308445,"uuid":"377199918","full_name":"levonet/action-config-blanks","owner":"levonet","description":"Creates files and directories using the JSON template","archived":false,"fork":false,"pushed_at":"2021-08-02T11:12:58.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-11T23:04:22.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/levonet.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":null,"security":null,"support":null}},"created_at":"2021-06-15T14:54:15.000Z","updated_at":"2021-08-02T11:13:01.000Z","dependencies_parsed_at":"2022-08-24T04:20:33.310Z","dependency_job_id":null,"html_url":"https://github.com/levonet/action-config-blanks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Faction-config-blanks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Faction-config-blanks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Faction-config-blanks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Faction-config-blanks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levonet","download_url":"https://codeload.github.com/levonet/action-config-blanks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523890,"owners_count":20791443,"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","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":"2024-10-04T23:00:29.643Z","updated_at":"2025-03-31T18:48:44.707Z","avatar_url":"https://github.com/levonet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action: Config Blanks\n\nThis action helps create dynamic configuration files during workflow.\nJSON in key-value format is passed to the action input.\nThe key is the path to the file or directory.\nThe value can be both text and object.\nAn object in value is only supported for file formats such as YAML and JSON.\nTo create a file in YAML format, the file must have the extension `.yml` or `.yaml`.\nUnder other conditions, a JSON file is created from the object or list.\nIf the content is `null`, the file is not created.\nTo create a directory, the key must end with a slash. And content is not taken into account.\n\n```yml\n- uses: blablacar/action-config-blanks@master\n  with:\n    source: '{\"a/b.txt\":\"a\\nb\",\"c/d.yml\":{\"a\":{\"b\":\"text\"}},\".tmp/\":null}'\n# Create:\n#   a/b.txt  with plain text content\n#   c/d.yml  in YAML format\n#   .tmp     directory\n```\n\n## Inputs\n\n### `source`\n\n**Required** A JSON key-value object.\nWhere as the key is the file or directory name, and the value as the content of the file.\nThe name of the directory must end in a slash (content value is ignored).\nIf the content is `null`, the file is not created.\n\n# License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevonet%2Faction-config-blanks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevonet%2Faction-config-blanks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevonet%2Faction-config-blanks/lists"}