{"id":18888057,"url":"https://github.com/codex-team/action-create-env","last_synced_at":"2026-02-24T12:30:15.164Z","repository":{"id":66293357,"uuid":"337692966","full_name":"codex-team/action-create-env","owner":"codex-team","description":"Simple action for creating environment file","archived":false,"fork":false,"pushed_at":"2021-02-10T11:34:46.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-31T05:28:34.322Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codex-team.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-02-10T10:44:49.000Z","updated_at":"2021-02-10T11:20:34.000Z","dependencies_parsed_at":"2024-01-23T21:17:08.124Z","dependency_job_id":"872145cf-2a2c-4ac8-89ea-8fbbbb265d06","html_url":"https://github.com/codex-team/action-create-env","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/codex-team%2Faction-create-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Faction-create-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Faction-create-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Faction-create-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codex-team","download_url":"https://codeload.github.com/codex-team/action-create-env/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859562,"owners_count":19708863,"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-11-08T07:41:56.188Z","updated_at":"2026-02-24T12:30:15.116Z","avatar_url":"https://github.com/codex-team.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-create-env\n\nSimple action for creating environment file.\n\n✨ Inspired by [SpicyPizza/create-envfile](https://github.com/SpicyPizza/create-envfile).\n\n## Inputs\n\n### `file_name`\n\nEnv file name  \n\n`.env` by default.\n\n### `directory`\n\nDirectory for env file\n\nProject's root directory be default.\n\n### `key_prefix`\n\nIdentifier for valid keys. Keys which starts with this identifier will be loaded.\n\n`envkey_` be default.\n\n## Usage\n\nSimple mode:\n\n```\n- name: Create env file\n  uses: codex-team/action-create-env@v1\n  with:\n    envkey_SOME_API_KEY: \"123456abcdef\"\n    envkey_SECRET_KEY: ${{ secrets.SECRET_KEY }}\n```\n\nOr extended mode:\n\n```\n- name: Create env file\n  uses: codex-team/action-create-env@v1\n  with:\n    envkey_DEBUG: false\n    envkey_SOME_API_KEY: \"123456abcdef\"\n    envkey_SECRET_KEY: ${{ secrets.SECRET_KEY }}\n    some_other_variable_which_will_be_skipped: foobar\n    directory: \u003cdirectory_name\u003e\n    file_name: .env\n    key_prefix: envkey_\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodex-team%2Faction-create-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodex-team%2Faction-create-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodex-team%2Faction-create-env/lists"}