{"id":18966999,"url":"https://github.com/snsinahub/json-to-env","last_synced_at":"2026-02-27T03:33:35.036Z","repository":{"id":59903755,"uuid":"539031912","full_name":"snsinahub/json-to-env","owner":"snsinahub","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-05T19:07:28.000Z","size":1389,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T17:51:37.580Z","etag":null,"topics":["actions","environment-variables","json","open-source"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/snsinahub.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-20T14:27:53.000Z","updated_at":"2025-03-05T18:53:19.000Z","dependencies_parsed_at":"2024-04-04T20:24:26.367Z","dependency_job_id":"df0ff4fd-872c-4dc7-a382-c37d27586c92","html_url":"https://github.com/snsinahub/json-to-env","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/snsinahub/json-to-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snsinahub%2Fjson-to-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snsinahub%2Fjson-to-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snsinahub%2Fjson-to-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snsinahub%2Fjson-to-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snsinahub","download_url":"https://codeload.github.com/snsinahub/json-to-env/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snsinahub%2Fjson-to-env/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29883768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"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":["actions","environment-variables","json","open-source"],"created_at":"2024-11-08T14:39:18.614Z","updated_at":"2026-02-27T03:33:35.021Z","avatar_url":"https://github.com/snsinahub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-to-env\n\n## Introduction\nThis action reads environment variables from a JSON file and add them as GitHub Actions environment variables.\n\n### Supported runners\n- Linux\n- Windows\n- MacOS\n\n## Inputs\n```YAML\n  - uses: snsinahub/json-to-env@v2.0.1\n    with: \n      # path to json file \n      # default: ''\n      # required: true\n      json_path: ''    \n\n```\n\n## Examples\n\n```YAML\n- name: checkout\n  uses: actions/checkout@v3\n- name: add env variables\n    uses: snsinahub/json-to-env@v2.0.1\n    with:\n        json_path: \"./environments/vars.json\"\n- name: print env variables\n    run: |          \n        echo \"${{ env.name }}\"        \n```\n\n## Environment file sample\n- [env.json](./env.json)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnsinahub%2Fjson-to-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnsinahub%2Fjson-to-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnsinahub%2Fjson-to-env/lists"}