{"id":7743402,"name":"cloudyspells/PSElectricityMaps","ecosystem":"actions","description":"Get Azure region with optimal carbon emissions from a given set","homepage":"","licenses":"gpl-3.0","normalized_licenses":["GPL-3.0"],"repository_url":"https://github.com/cloudyspells/PSElectricityMaps","keywords_array":["azure","carbon-emissions","carbon-footprint","co2","co2-emissions","co2-signal","github-actions","green-software","powershell","powershell-module","sustainability"],"namespace":"cloudyspells","versions_count":2,"first_release_published_at":"2023-03-29T18:35:10.000Z","latest_release_published_at":"2023-03-29T19:00:13.000Z","latest_release_number":"v0.9.1","last_synced_at":"2026-10-06T01:51:44.903Z","created_at":"2023-05-17T08:44:24.744Z","updated_at":"2026-10-06T01:51:52.713Z","registry_url":"https://github.com/cloudyspells/PSElectricityMaps","install_command":null,"documentation_url":null,"metadata":{"name":"PSElectricityMaps for Azure regions","description":"Get Azure region with optimal carbon emissions from a given set","author":"Roderick Bant","branding":{"icon":"loader","color":"green"},"inputs":{"azure_credential":{"description":"Azure credential secret for azure/login@v1 action","required":true},"regions":{"description":"Comma seperated list of Azure regions to check for current emissions","required":false,"default":"\"westeurope\",\"northeurope\""},"signal_token":{"description":"Auth token from CO2 Signal","required":true}},"outputs":{"region":{"description":"Azure region with the best emissions","value":"${{ steps.invokesignal.outputs.region}}"},"fossilFuelPercentage":{"description":"Percentage of fossil fuel carbon emissions","value":"${{ steps.invokesignal.outputs.FossilFuelPercentage }}"}},"runs":{"using":"composite","steps":[{"id":"azurelogin","uses":"azure/login@v1","with":{"creds":"${{ inputs.azure_credential }}","enable-AzPSSession":true}},{"id":"invokesignal","shell":"pwsh","run":"Set-PSRepository PSGallery -InstallationPolicy Trusted\nInstall-Module Az.Resources\nImport-Module Az.Resources\nImport-Module ${{ github.action_path }}/src/PSElectricityMaps\n$result = Get-ElectricityMapsBestAzureRegion -Regions ${{ inputs.regions }} -AuthToken ${{ inputs.signal_token }}\n\"region=$($result.Region)\" \u003e\u003e $env:GITHUB_OUTPUT\n\"fossilFuelPercentage=$($result.FossilFuelPercentage)\" \u003e\u003e $env:GITHUB_OUTPUT\nWrite-Output \"### PSElectricityMaps Azure Region selection\" \u003e\u003e $env:GITHUB_STEP_SUMMARY\nWrite-Output \"\" \u003e\u003e $env:GITHUB_STEP_SUMMARY\nWrite-Output \"- Azure region with lowest emissions: **$($result.Region)**\" \u003e\u003e $env:GITHUB_STEP_SUMMARY\nWrite-Output \"- Fossil fuel percentage: **$($result.FossilFuelPercentage)**\" \u003e\u003e $env:GITHUB_STEP_SUMMARY"}]},"default_branch":"main","path":null},"repo_metadata":{"id":148806033,"uuid":"620813652","full_name":"cloudyspells/PSElectricityMaps","owner":"cloudyspells","description":"PowerShell Module for free ElectricityMaps API functions for Azure","archived":false,"fork":false,"pushed_at":"2023-09-04T13:09:59.000Z","size":51,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-10-05T16:29:49.629Z","etag":null,"topics":["azure","carbon-emissions","carbon-footprint","co2","co2-emissions","co2-signal","github-actions","green-software","powershell","powershell-module","sustainability"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudyspells.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null}},"created_at":"2023-03-29T12:27:54.000Z","updated_at":"2026-10-02T14:19:50.000Z","dependencies_parsed_at":"2023-06-09T01:00:22.160Z","dependency_job_id":null,"html_url":"https://github.com/cloudyspells/PSElectricityMaps","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"b7b0637e2a58a369316cfdc631eec52449bf8900"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cloudyspells/PSElectricityMaps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSElectricityMaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSElectricityMaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSElectricityMaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSElectricityMaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudyspells","download_url":"https://codeload.github.com/cloudyspells/PSElectricityMaps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSElectricityMaps/sbom","scorecard":{"id":293391,"data":{"date":"2025-08-11","repo":{"name":"github.com/cloudyspells/PSElectricityMaps","commit":"b7b0637e2a58a369316cfdc631eec52449bf8900"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish-on-release.yml:1","Warn: no topLevel permission defined: .github/workflows/qa.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/wiki.yml:12","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-on-release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSElectricityMaps/publish-on-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/qa.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSElectricityMaps/qa.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/qa.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSElectricityMaps/qa.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/qa.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSElectricityMaps/qa.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/qa.yml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSElectricityMaps/qa.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wiki.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSElectricityMaps/wiki.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wiki.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSElectricityMaps/wiki.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/wiki.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSElectricityMaps/wiki.yml/main?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T18:53:08.632Z","repository_id":148806033,"created_at":"2025-08-17T18:53:08.632Z","updated_at":"2025-08-17T18:53:08.632Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343170754,"owners_count":38058941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-05T02:00:06.766Z","response_time":83,"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"},"owner_record":{"login":"cloudyspells","name":"cloudyspells","uuid":"123959546","kind":"organization","description":null,"email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/123959546?v=4","repositories_count":1,"last_synced_at":"2023-03-29T19:41:52.174Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/cloudyspells","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-03-29T19:41:52.176Z","updated_at":"2023-03-29T19:41:52.176Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudyspells","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudyspells/repositories"},"tags":[{"name":"v0.9.1","sha":"b7b0637e2a58a369316cfdc631eec52449bf8900","kind":"commit","published_at":"2023-03-29T19:00:13.000Z","download_url":"https://codeload.github.com/cloudyspells/PSElectricityMaps/tar.gz/v0.9.1","html_url":"https://github.com/cloudyspells/PSElectricityMaps/releases/tag/v0.9.1","dependencies_parsed_at":"2023-06-02T00:55:13.992Z","dependency_job_id":null,"purl":"pkg:github/cloudyspells/PSElectricityMaps@v0.9.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSElectricityMaps/tags/v0.9.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSElectricityMaps/tags/v0.9.1/manifests"},{"name":"v0.9.0","sha":"42ae10ee00886ab0762fa5edbd5167bef6b96204","kind":"commit","published_at":"2023-03-29T18:35:10.000Z","download_url":"https://codeload.github.com/cloudyspells/PSElectricityMaps/tar.gz/v0.9.0","html_url":"https://github.com/cloudyspells/PSElectricityMaps/releases/tag/v0.9.0","dependencies_parsed_at":"2023-06-02T00:55:14.092Z","dependency_job_id":null,"purl":"pkg:github/cloudyspells/PSElectricityMaps@v0.9.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSElectricityMaps/tags/v0.9.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSElectricityMaps/tags/v0.9.0/manifests"}]},"repo_metadata_updated_at":"2026-10-06T01:51:52.713Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":40.26221692491061,"dependent_packages_count":0.0,"stargazers_count":48.81764060265407,"forks_count":35.22640316731543,"docker_downloads_count":null,"average":31.076565173720027},"purl":"pkg:githubactions/cloudyspells/PSElectricityMaps","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/cloudyspells/PSElectricityMaps","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/cloudyspells/PSElectricityMaps","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/cloudyspells/PSElectricityMaps/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-05T08:40:36.157Z","issues_count":0,"pull_requests_count":2,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":83.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":2,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSElectricityMaps/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSElectricityMaps/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSElectricityMaps/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSElectricityMaps/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSElectricityMaps/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSElectricityMaps/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSElectricityMaps/codemeta","maintainers":[]}