Skip to content

Track build minutes for disabled shared runners

What does this MR do?

This MR fixes a bug caused by not tracking CI minutes for shared runners when a project's use of shared runners is disabled. This allows cryptominers to gain an infinite number of minutes by toggling off shared runners after they launch builds.

The fix is to remove the conditionals that prevent CI minutes from being tracked when shared runners are disabled on a project.

Issue

Resolves #332933 and #336021 (closed)

Edited by Avielle Wolfe

Merge request reports

Loading