docs/ci: allow sanity job to be missing

The rules of both jobs never matched, so there was always the potential
for the job to be missing, but it's about to get worse with the next
commit, so fix that now.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25920>
This commit is contained in:
Eric Engestrom 2023-10-26 17:36:30 +01:00 committed by Marge Bot
parent 3f64b12c1e
commit 49395b4aa4
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ test-docs-mr:
extends:
- test-docs
needs:
- sanity
- job: sanity
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
changes: *docs-or-ci