mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
ci: have Mergify label PRs for actions/
with ci/skip/e2e
The matching checks the list of modified files, and if it does not contain anything outside the `actions/` directory, the labels are applied. Actions are not tested with e2e, so changes can be labelled to skip these time and resource intensive tests. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
0fd4db92bb
commit
411bf33a3d
@ -316,3 +316,12 @@ pull_request_rules:
|
||||
add:
|
||||
- Repo activity
|
||||
- ci/skip/e2e
|
||||
- name: label PR that only changes actions
|
||||
conditions:
|
||||
- -files~=^(!?actions/)
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- component/build
|
||||
- component/testing
|
||||
- ci/skip/e2e
|
||||
|
Loading…
Reference in New Issue
Block a user