{"id":7743408,"name":"cloudyspells/PSCO2Signal","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/PSCO2Signal","keywords_array":["azure","carbon","carbon-emissions","carbon-footprint","cd","co2","co2-emissions","co2-footprint","deployment","github-actions","green-software","powershell","powershell-module","sustainability","sustainable-software"],"namespace":"cloudyspells","versions_count":2,"first_release_published_at":"2023-03-26T09:22:23.000Z","latest_release_published_at":"2023-03-26T12:21:29.000Z","latest_release_number":"v1.0.0","last_synced_at":"2026-10-02T19:52:17.375Z","created_at":"2023-05-17T08:44:24.879Z","updated_at":"2026-10-02T19:52:17.375Z","registry_url":"https://github.com/cloudyspells/PSCO2Signal","install_command":null,"documentation_url":null,"metadata":{"name":"PSCO2Signal 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/PSCO2Signal\n$result = Get-CO2SignalBestAzureRegion -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 \"### PSCO2Signal 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":148806469,"uuid":"618780962","full_name":"cloudyspells/PSCO2Signal","owner":"cloudyspells","description":"Lightweight PowerShell client for CO2Signal","archived":false,"fork":false,"pushed_at":"2023-09-11T06:06:42.000Z","size":71,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-09-02T10:37:26.714Z","etag":null,"topics":["azure","carbon","carbon-emissions","carbon-footprint","cd","co2","co2-emissions","co2-footprint","deployment","github-actions","green-software","powershell","powershell-module","sustainability","sustainable-software"],"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":"SECURITY.md","support":null,"governance":null}},"created_at":"2023-03-25T10:33:27.000Z","updated_at":"2025-07-10T22:36:23.000Z","dependencies_parsed_at":"2023-05-29T01:00:15.131Z","dependency_job_id":null,"html_url":"https://github.com/cloudyspells/PSCO2Signal","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.0357142857142857,"last_synced_commit":"c12ae73a707ab1751aba7ba1e85fef1bdf13f8e2"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cloudyspells/PSCO2Signal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSCO2Signal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSCO2Signal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSCO2Signal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSCO2Signal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudyspells","download_url":"https://codeload.github.com/cloudyspells/PSCO2Signal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSCO2Signal/sbom","scorecard":{"id":293390,"data":{"date":"2025-08-11","repo":{"name":"github.com/cloudyspells/PSCO2Signal","commit":"c12ae73a707ab1751aba7ba1e85fef1bdf13f8e2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/24 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":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"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":"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":"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":"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":"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":"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/PSCO2Signal/publish-on-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/qa.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSCO2Signal/qa.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/qa.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSCO2Signal/qa.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/qa.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSCO2Signal/qa.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/qa.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSCO2Signal/qa.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/qa.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSCO2Signal/qa.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/qa.yml:113: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudyspells/PSCO2Signal/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/PSCO2Signal/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/PSCO2Signal/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/PSCO2Signal/wiki.yml/main?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 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":"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: topLevel 'checks' permission set to 'write': .github/workflows/qa.yml:11","Warn: topLevel 'security-events' permission set to 'write': .github/workflows/qa.yml:13","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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 8 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.026Z","repository_id":148806469,"created_at":"2025-08-17T18:53:08.026Z","updated_at":"2025-08-17T18:53:08.026Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37516109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-20T02:00:06.856Z","response_time":61,"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":"v1.0.0","sha":"2e88d52e53f3a58e6598d3538bb45b36d7da6ddc","kind":"commit","published_at":"2023-03-26T12:21:29.000Z","download_url":"https://codeload.github.com/cloudyspells/PSCO2Signal/tar.gz/v1.0.0","html_url":"https://github.com/cloudyspells/PSCO2Signal/releases/tag/v1.0.0","dependencies_parsed_at":"2023-06-02T00:55:15.122Z","dependency_job_id":null,"purl":"pkg:github/cloudyspells/PSCO2Signal@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSCO2Signal/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSCO2Signal/tags/v1.0.0/manifests"},{"name":"v0.9.0","sha":"b6f357d43c29cbdcc01c24fb69ca0d7c6cb65eea","kind":"commit","published_at":"2023-03-26T09:22:23.000Z","download_url":"https://codeload.github.com/cloudyspells/PSCO2Signal/tar.gz/v0.9.0","html_url":"https://github.com/cloudyspells/PSCO2Signal/releases/tag/v0.9.0","dependencies_parsed_at":"2023-06-02T00:55:14.910Z","dependency_job_id":null,"purl":"pkg:github/cloudyspells/PSCO2Signal@v0.9.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSCO2Signal/tags/v0.9.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyspells%2FPSCO2Signal/tags/v0.9.0/manifests"}]},"repo_metadata_updated_at":"2026-09-20T05:59:55.575Z","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":35.236392530790624,"forks_count":35.22640316731543,"docker_downloads_count":null,"average":27.681253155754167},"purl":"pkg:githubactions/cloudyspells/PSCO2Signal","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/cloudyspells/PSCO2Signal","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/cloudyspells/PSCO2Signal","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/cloudyspells/PSCO2Signal/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-07-27T19:44:53.370Z","issues_count":0,"pull_requests_count":4,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":1984.6666666666667,"issues_closed_count":0,"pull_requests_closed_count":3,"pull_request_authors_count":2,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.75,"merged_pull_requests_count":3,"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%2FPSCO2Signal/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSCO2Signal/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSCO2Signal/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSCO2Signal/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSCO2Signal/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSCO2Signal/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/cloudyspells%2FPSCO2Signal/codemeta","maintainers":[]}