mirror of
https://github.com/containers/podman.git
synced 2025-10-11 16:26:00 +08:00

As we want to get rid of the special titles convert the existing skips to the only_if condition, this makes it more readable as we do not need to negate so much. Then add similar conditions for all test tasks, this removes the need to a special title such as CI:DOCS as the logic is smart enough to only docs changes when no source code was changed. Update the documentation for the new logic and no longer point contributors to the CI:DOCS title as it is gone now. There is a bunch of duplication in the rules as yaml doesn't allow us to share only parts of a string. To prevent unwanted drift a test case in contrib/cirrus/cirrus_yaml_test.py is added to ensure all conditions follow the same base ruleset. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
26 lines
894 B
Markdown
26 lines
894 B
Markdown
<!--
|
|
Thanks for sending a pull request!
|
|
|
|
Please make sure you've read our contributing guidelines and how to submit a pull request (https://github.com/containers/podman/blob/main/CONTRIBUTING.md#submitting-pull-requests).
|
|
|
|
Finally, be sure to sign commits with your real name. Since by opening
|
|
a PR you already have commits, you can add signatures if needed with
|
|
something like `git commit -s --amend`.
|
|
-->
|
|
|
|
#### Does this PR introduce a user-facing change?
|
|
|
|
<!--
|
|
If no, just write `None` in the release-note block below. If yes, a release note
|
|
is required: Enter your extended release note in the block below. If the PR
|
|
requires additional action from users switching to the new release, include the
|
|
string "action required".
|
|
|
|
For more information on release notes, please follow the Kubernetes model:
|
|
https://git.k8s.io/community/contributors/guide/release-notes.md
|
|
-->
|
|
|
|
```release-note
|
|
|
|
```
|