mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-03 02:03:48 +00:00
ci: Fix cerbero trigger rules for file changes
"if changes... never" will NOT create the pipeline if *any* of the changes are in these files, which is not what we want. Flip the logic, so that the pipeline is created when any Rust file is changed, or Cargo.toml/Cargo.lock is changed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2121>
This commit is contained in:
parent
64b6661548
commit
66b3857bc4
1 changed files with 8 additions and 18 deletions
|
@ -436,21 +436,11 @@ cerbero trigger:
|
|||
# Never run post merge
|
||||
- if: '$CI_PROJECT_NAMESPACE == "gstreamer"'
|
||||
when: never
|
||||
# Don't run if the only changes are files that cargo-c does not read
|
||||
- if:
|
||||
changes:
|
||||
- "CHANGELOG.md"
|
||||
- "README.md"
|
||||
- "deny.toml"
|
||||
- "rustfmt.toml"
|
||||
- "typos.toml"
|
||||
- "*.py"
|
||||
- "*.sh"
|
||||
- "Makefile"
|
||||
- "meson.build"
|
||||
- "meson_options.txt"
|
||||
- "**/meson.build"
|
||||
- "ci/*.sh"
|
||||
- "ci/*.py"
|
||||
when: never
|
||||
- when: always
|
||||
- changes:
|
||||
paths:
|
||||
- ".gitlab-ci.yml"
|
||||
- "Cargo.toml"
|
||||
- "Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- "**/*.rs"
|
||||
- "**/*.c"
|
||||
|
|
Loading…
Reference in a new issue