You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Limit the duration of CI/CD execution and there occurrences. It means running a CI/CD job only when it is necessary. For example check the linting of the python scripts only when a python script was updated.
Why ?
In order to fasten CI/CD executions and reduce the overall computing time. Indeed, even it the CI/CD runs are done in github magic cloud, it still is physically executed on computers. Thus, doing less CI/CD runs will reduce the power consumption of these devices, and so the CO2 emissions (even if most likely negligible regarding other emissions).
How ?
Separate the jobs in several workflows, such as one dedicated to the frontend (with Typescript linter) and one for the backend (with Python linter, unit and integration tests)
Add triggers to run the job only on some files push (see below)
What ?
Limit the duration of CI/CD execution and there occurrences. It means running a CI/CD job only when it is necessary. For example check the linting of the python scripts only when a python script was updated.
Why ?
In order to fasten CI/CD executions and reduce the overall computing time. Indeed, even it the CI/CD runs are done in github magic cloud, it still is physically executed on computers. Thus, doing less CI/CD runs will reduce the power consumption of these devices, and so the CO2 emissions (even if most likely negligible regarding other emissions).
How ?
💡 Run workflow only on files push
The text was updated successfully, but these errors were encountered: