{"id":26493763,"url":"https://github.com/gacts/fetch-doppler-secret","last_synced_at":"2025-03-20T09:57:12.457Z","repository":{"id":39707553,"uuid":"408433975","full_name":"gacts/fetch-doppler-secret","owner":"gacts","description":"🚀 This GitHub action allows receiving the secrets from the doppler.com","archived":false,"fork":false,"pushed_at":"2025-01-02T18:43:45.000Z","size":901,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T02:01:46.043Z","etag":null,"topics":["action","doppler","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/fetch-the-secret-from-doppler-com","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/gacts.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}},"created_at":"2021-09-20T12:28:38.000Z","updated_at":"2025-01-02T18:42:50.000Z","dependencies_parsed_at":"2023-02-17T05:16:10.697Z","dependency_job_id":"bacf3de8-6e4b-495b-b077-99cc2fce10ce","html_url":"https://github.com/gacts/fetch-doppler-secret","commit_stats":{"total_commits":62,"total_committers":3,"mean_commits":"20.666666666666668","dds":0.3709677419354839,"last_synced_commit":"5b9c9d47232bdc890f3592479917b25f55a55639"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":"actions/javascript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Ffetch-doppler-secret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Ffetch-doppler-secret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Ffetch-doppler-secret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Ffetch-doppler-secret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gacts","download_url":"https://codeload.github.com/gacts/fetch-doppler-secret/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244591484,"owners_count":20477709,"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":["action","doppler","github-actions"],"created_at":"2025-03-20T09:57:11.804Z","updated_at":"2025-03-20T09:57:12.440Z","avatar_url":"https://github.com/gacts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://avatars.githubusercontent.com/u/34022344?s=200\u0026v=4\" alt=\"Logo\" width=\"100\" /\u003e\n\u003c/p\u003e\n\n# Fetch the [doppler][doppler] secret\n\n![Release version][badge_release_version]\n[![Build Status][badge_build]][link_build]\n[![License][badge_license]][link_license]\n\nThis GitHub action allows receiving the secrets from the [doppler.com][doppler]. Fetched secrets will be masked in the logs.\n\n## Usage\n\n```yaml\njobs:\n  fetch-the-secret:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: gacts/fetch-doppler-secret@v1\n        id: secret-value\n        with:\n          token: ${{ secrets.doppler-service-token }} # docs: \u003chttps://docs.doppler.com/docs/enclave-service-tokens\u003e\n          project: ${{ secrets.project-name }} # docs: \u003chttps://docs.doppler.com/docs/enclave-project-setup\u003e\n          config: ${{ secrets.config-name }} # docs: \u003chttps://docs.doppler.com/docs/enclave-root-configs\u003e\n          secret-name: %secret-name%\n\n      - run: echo \"${{ steps.secret-value.outputs.secret }}\"\n\n      - uses: gacts/fetch-doppler-secret@v1\n        id: secret-file\n        with:\n          token: ${{ secrets.doppler-service-token }}\n          project: ${{ secrets.project-name }}\n          config: ${{ secrets.config-name }}\n          secret-name: %secret-name%\n          save-to-file: file_with_secret\n\n      - run: cat ./file_with_secret\n```\n\n### Customizing\n\n#### Inputs\n\nThe following inputs can be used as `step.with` keys:\n\n| Name           |  Type  | Default | Required | Description                                                    |\n|----------------|:------:|:-------:|:--------:|----------------------------------------------------------------|\n| `token`        | string |         |   yes    | [Doppler service token][doppler-service-tokens]                |\n| `project`      | string |         |   yes    | [Doppler project name][doppler-project-name]                   |\n| `config`       | string |  `prd`  |    no    | [Doppler config][doppler-config] (also known as \"environment\") |\n| `secret-name`  | string |         |   yes    | Secret name                                                    |\n| `save-to-file` | string |         |    no    | Path to the file for storing the secret                        |\n\n[doppler-service-tokens]:https://docs.doppler.com/docs/enclave-service-tokens\n[doppler-project-name]:https://docs.doppler.com/docs/enclave-project-setup\n[doppler-config]:https://docs.doppler.com/docs/enclave-root-configs\n\n#### Outputs\n\n| Name     | Type   | Description  |\n|----------|--------|--------------|\n| `secret` | String | Secret value |\n\n## Releasing\n\nTo release a new version:\n\n- Build the action distribution (`make build` or `npm run build`).\n- Commit and push changes (including `dist` directory changes - this is important) to the `master|main` branch.\n- Publish the new release using the repo releases page (the git tag should follow the `vX.Y.Z` format).\n\nMajor and minor git tags (`v1` and `v1.2` if you publish a `v1.2.Z` release) will be updated automatically.\n\n\u003e [!TIP]\n\u003e Use [Dependabot](https://bit.ly/45zwLL1) to keep this action updated in your repository.\n\n## Support\n\n[![Issues][badge_issues]][link_issues]\n[![Pull Requests][badge_pulls]][link_pulls]\n\nIf you find any errors in the action, please [create an issue][link_create_issue] in this repository.\n\n## License\n\nThis is open-source software licensed under the [MIT License][link_license].\n\n[badge_build]:https://img.shields.io/github/actions/workflow/status/gacts/fetch-doppler-secret/test.yml?branch=master\u0026maxAge=30\n[badge_release_version]:https://img.shields.io/github/release/gacts/fetch-doppler-secret.svg?maxAge=30\n[badge_license]:https://img.shields.io/github/license/gacts/fetch-doppler-secret.svg?longCache=true\n[badge_release_date]:https://img.shields.io/github/release-date/gacts/fetch-doppler-secret.svg?maxAge=180\n[badge_commits_since_release]:https://img.shields.io/github/commits-since/gacts/fetch-doppler-secret/latest.svg?maxAge=45\n[badge_issues]:https://img.shields.io/github/issues/gacts/fetch-doppler-secret.svg?maxAge=45\n[badge_pulls]:https://img.shields.io/github/issues-pr/gacts/fetch-doppler-secret.svg?maxAge=45\n\n[link_build]:https://github.com/gacts/fetch-doppler-secret/actions\n[link_license]:https://github.com/gacts/fetch-doppler-secret/blob/master/LICENSE\n[link_issues]:https://github.com/gacts/fetch-doppler-secret/issues\n[link_create_issue]:https://github.com/gacts/fetch-doppler-secret/issues/new\n[link_pulls]:https://github.com/gacts/fetch-doppler-secret/pulls\n\n[doppler]:https://doppler.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgacts%2Ffetch-doppler-secret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgacts%2Ffetch-doppler-secret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgacts%2Ffetch-doppler-secret/lists"}