{"id":46044051,"url":"https://github.com/denisyfrolov/set-githubsecrets","last_synced_at":"2026-03-01T07:05:37.748Z","repository":{"id":231930608,"uuid":"348288010","full_name":"denisyfrolov/Set-GitHubSecrets","owner":"denisyfrolov","description":"This is a simple script to exports environment variable from the .env file to the GitHub Encrypted secrets.","archived":false,"fork":false,"pushed_at":"2021-04-05T23:47:23.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-06T22:24:14.303Z","etag":null,"topics":["dotenv","github","secrets"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denisyfrolov.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}},"created_at":"2021-03-16T09:33:10.000Z","updated_at":"2024-04-06T22:24:19.324Z","dependencies_parsed_at":"2024-04-06T22:24:18.926Z","dependency_job_id":"65af2f4a-737b-4274-86ea-152fb21cc5ab","html_url":"https://github.com/denisyfrolov/Set-GitHubSecrets","commit_stats":null,"previous_names":["denisyfrolov/set-githubsecrets"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/denisyfrolov/Set-GitHubSecrets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisyfrolov%2FSet-GitHubSecrets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisyfrolov%2FSet-GitHubSecrets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisyfrolov%2FSet-GitHubSecrets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisyfrolov%2FSet-GitHubSecrets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denisyfrolov","download_url":"https://codeload.github.com/denisyfrolov/Set-GitHubSecrets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisyfrolov%2FSet-GitHubSecrets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29963120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dotenv","github","secrets"],"created_at":"2026-03-01T07:05:34.079Z","updated_at":"2026-03-01T07:05:37.734Z","avatar_url":"https://github.com/denisyfrolov.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Set-GitHubSecrets\n\nPowerShell DotEnv to GitHub Encrypted secrets\n\nThis is a simple script to exports environment variable from the .env file to the GitHub Encrypted secrets.\n\nUsage\n==========\nAdd the function Set-GitHubSecrets to the prompt function.\n\n```powershell\nSet-GitHubSecrets\nRemove-GitHubSecrets\n```\n\n```powershell\n# This is function is called by convention in PowerShell\nfunction prompt {\n    Set-GitHubSecrets\n    Remove-GitHubSecrets\n}\n```\nCreate a .env file at the folder level the environment variable has to be exported   \nSample .env file\n```powershell\n#This is a comment\n#Assign a variable\nDEPLOYKEY=KEY1\n#github-secrets-skip Next var will be ignored\nLOCALVAR=NOTFORGITHUB\n```\nInstallation\n============\n\n### From PowerShell Gallery\n```powershell\nInstall-Module -Name Set-GitHubSecrets\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenisyfrolov%2Fset-githubsecrets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenisyfrolov%2Fset-githubsecrets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenisyfrolov%2Fset-githubsecrets/lists"}