Dynamically update allow_failure value

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Hello. We want to set allow_failure param from group setting:

sonar-scanner:
  stage: build
  when: always
  allow_failure: ${SONAR_ALLOW_FAILURE}

But Gitlab return yaml error about that allow_failure value should be a boolean. Do you have a possibale ways set variable instaed of "true/false" or convert variable to boolean?

Edited Aug 26, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading