{"id":21301453,"url":"https://github.com/minddocdev/env-variables-action","last_synced_at":"2025-03-15T18:25:24.426Z","repository":{"id":44972741,"uuid":"232807643","full_name":"minddocdev/env-variables-action","owner":"minddocdev","description":"Export env variables for Github actions from a JSON or YAML string","archived":false,"fork":false,"pushed_at":"2023-07-18T20:32:51.000Z","size":1329,"stargazers_count":0,"open_issues_count":17,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T01:04:12.693Z","etag":null,"topics":["github-actions"],"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/minddocdev.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":"2020-01-09T12:48:30.000Z","updated_at":"2022-10-18T06:02:21.000Z","dependencies_parsed_at":"2023-02-03T11:15:21.054Z","dependency_job_id":null,"html_url":"https://github.com/minddocdev/env-variables-action","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"27c01069c31b0342c16a97213accac582ad1d669"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fenv-variables-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fenv-variables-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fenv-variables-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fenv-variables-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minddocdev","download_url":"https://codeload.github.com/minddocdev/env-variables-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243772206,"owners_count":20345601,"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":["github-actions"],"created_at":"2024-11-21T15:46:00.801Z","updated_at":"2025-03-15T18:25:24.234Z","avatar_url":"https://github.com/minddocdev.png","language":"JavaScript","readme":"# Env Variables Action\n\nExport env variables for Github actions from a JSON or YAML string.\n\nInstall dependencies\n\n```bash\nyarn install\n```\n\nBuild the typescript\n\n```bash\nyarn build\n```\n\nRun the tests\n\n```bash\nyarn test\n```\n\n## Inputs\n\n### `variables`\n\n- name: variables\n- required: true\n- description: The object containing the variables in either JSON or YAML format.\n\n### `format`\n\n- name: format\n- required: false\n- default: json\n- description: Tell the action which format your `variables` are using.\n\n### `whiteList`\n\n- name: whiteList\n- required: false\n- description: Comma separated list of keys that will be loaded, ignoring the rest.\n\n## Usage\n\nUse the action to export and use env variables:\n\n```yaml\nname: 'test-integration'\non:\n  push:\n    branches:\n      - master\njobs:\n  bump:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout git repository\n        uses: actions/checkout@master\n      - name: Set env variables using json\n        uses: minddocdev/env-variables-action@master\n        with:\n          variables: '{ \"action\": \"test\", \"comment\": \"integration\" }'\n          format: 'json'\n          whiteList: 'action,comment'\n      - name: Echo env variables\n        run: echo $ACTION \u0026\u0026 echo $COMMENT\n      - name: Set env variables using yaml\n        uses: minddocdev/env-variables-action@master\n        with:\n          variables: |\n            'data:\n              action: test\n              comment: integration\n            '\n          format: 'yaml'\n          whiteList: 'data.action,data.comment'\n      - name: Echo env variables\n        run: echo $ACTION \u0026\u0026 echo $COMMENT\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminddocdev%2Fenv-variables-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminddocdev%2Fenv-variables-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminddocdev%2Fenv-variables-action/lists"}