ci: Fix post-merge CI pipelines

Don’t allow the `pages` job to be run (even manually) on post-merge
pipelines. It’s not particularly useful, and GitLab doesn’t like having
a manual job with unsatisfied dependencies in a pipeline:
```
'pages' job needs 'coverage' job, but 'coverage' is not in any previous stage
'pages' job needs 'style-check-advisory' job, but 'style-check-advisory' is not in any previous stage
```

See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3847#note_1986044

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall 2024-01-25 20:31:34 +00:00
parent e04886aeb2
commit c89b282623

View File

@ -735,7 +735,7 @@ scan-build:
- "cov-int/build-log.txt"
pages:
extends: .only-schedules-or-manual-in-default-branch
extends: .only-schedules
stage: deploy
needs: ['coverage', 'style-check-advisory']
script: