Skip to content

fix: validation script "unbound variable" errors

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this merge request do and why?

fix: validation script "unbound variable" errors

set -u makes Bash fail on undefined variables

How to set up and validate locally

  1. Run./scripts/ingest/gitlab-docs/steps/validate.sh without env vars set
  2. It should fail with "GITLAB_DOCS_REPO is empty!" and not with "unbound variable"

Merge request checklist

Edited by 🤖 GitLab Bot 🤖

Merge request reports