jnioche opened a new pull request, #5424: URL: https://github.com/apache/solr/pull/5424
## Summary This adds a GH workflow to use [Aspen](https://aspen.digitalpebble.com/) to estimate the environmental impact of solr GH actions. It generates a badge displayed in the README as well as a report and summary attached to the run itself. As explained in the [methodology section](https://aspen.digitalpebble.com/methodology/), Aspen estimates the energy, carbon and water used by the workflows, rather than measuring it. For solr, a rough estimate of CO2 equivalent for the last 30 days, based on the minutes shown on the [public Insights page](https://github.com/apache/solr/actions/metrics/usage?dateRangeType=DATE_RANGE_TYPE_LAST_30_DAYS&tab=runtime) and following Aspen's methodology, is about **2.92kg**. The aim of Aspen is to make this information visible, understand the source of the impacts, and hopefully help reduce them. See https://github.com/DigitalPebble/aspen#what-next for possible actions to reduce the environmental impact of GH workflows. Please note that the carbon workflow will need to be triggered once manually for the data to be available. It will run automatically after that. ## Impact This workflow does not interfere with any other aspect of solr. ## Testing Checked the validity of the workflow file with `docker run --rm -v "$PWD:/repo" -w /repo rhysd/actionlint:1.7.12 -color` Note that this command may highlight possible improvements for your existing workflow files. Aspen has already been adopted by Apache Storm, Apache StormCrawler and Apache OpenNLP, as well as other open source projects. See https://github.com/DigitalPebble/aspen/blob/main/ADOPTERS.md. If this PR is merged in, please add your project to the list of adopters via a PR, thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
