The sonarcloud-quality-gate pipe waits for 300 seconds by default for the quality gate to be available after an analysis using the sonarcloud-scan pipe. It is documented that the waiting time can be set using the SONAR_QUALITY_GATE_TIMEOUT variable.
Unfortunately this doesn't seem to work anymore. The code expects a numeric value, but it receives a string value from the yml configuration, even when it's entered without quotes.
The code must parse the value to int, and handle failures a bit more gracefully.