| 
 | 1 | +extends: .github  | 
 | 2 | +shared:  | 
 | 3 | +  IsPublicHolidays: &IsPublicHolidays  | 
 | 4 | +    or:  | 
 | 5 | +      - current-datetime = XXXX-01-01T00:00/XXXX-01-01T23:59[Europe/Paris]  | 
 | 6 | +      - current-datetime = XXXX-05-01T00:00/XXXX-05-01T23:59[Europe/Paris]  | 
 | 7 | +      - current-datetime = XXXX-05-08T00:00/XXXX-05-08T23:59[Europe/Paris]  | 
 | 8 | +      - current-datetime = XXXX-07-14T00:00/XXXX-07-14T23:59[Europe/Paris]  | 
 | 9 | +      - current-datetime = XXXX-08-15T00:00/XXXX-08-15T23:59[Europe/Paris]  | 
 | 10 | +      - current-datetime = XXXX-11-01T00:00/XXXX-11-01T23:59[Europe/Paris]  | 
 | 11 | +      - current-datetime = XXXX-11-11T00:00/XXXX-11-11T23:59[Europe/Paris]  | 
 | 12 | +      - current-datetime = XXXX-12-25T00:00/XXXX-12-25T23:59[Europe/Paris]  | 
 | 13 | +  DefaultQueueOptions: &DefaultQueueOptions  | 
 | 14 | +    commit_message_template: |  | 
 | 15 | +      {{ title }} (#{{ number }})  | 
 | 16 | +
  | 
 | 17 | +      {{ body }}  | 
 | 18 | +    merge_method: squash  | 
 | 19 | +  CheckRuns: &CheckRuns  | 
 | 20 | +    - check-success=linters  | 
 | 21 | +    - check-success=action  | 
 | 22 | +    - check-success=tests  | 
 | 23 | + | 
 | 24 | +scopes:  | 
 | 25 | +  source:  | 
 | 26 | +    files:  | 
 | 27 | +      github:  | 
 | 28 | +        includes:  | 
 | 29 | +          - .github/**/*  | 
 | 30 | +      action:  | 
 | 31 | +        includes:  | 
 | 32 | +          - action.yml  | 
 | 33 | +      everything: {}  | 
 | 34 | + | 
 | 35 | +queue_rules:  | 
 | 36 | +  - name: default  | 
 | 37 | +    <<: *DefaultQueueOptions  | 
 | 38 | +    autoqueue: true  | 
 | 39 | +    queue_conditions:  | 
 | 40 | +      - base=main  | 
 | 41 | +      - and: *CheckRuns  | 
 | 42 | +      - or: &DefaultReviewCond  | 
 | 43 | +          - "#approved-reviews-by>=1"  | 
 | 44 | +          - and:  | 
 | 45 | +              - author=mergify-ci-bot  | 
 | 46 | +              - head=trivy/daily-report  | 
 | 47 | +              - approved-reviews-by=@eng-mgr  | 
 | 48 | +      - "#changes-requested-reviews-by=0"  | 
 | 49 | +      - "#review-threads-unresolved=0"  | 
 | 50 | +      - "#review-requested=0"  | 
 | 51 | +    merge_conditions:  | 
 | 52 | +      - and: *CheckRuns  | 
 | 53 | +      - and:  | 
 | 54 | +          - not: *IsPublicHolidays  | 
 | 55 | +          - schedule=Mon-Fri 09:00-17:30[Europe/Paris]  | 
 | 56 | + | 
 | 57 | +  - name: lowprio  | 
 | 58 | +    <<: *DefaultQueueOptions  | 
 | 59 | +    autoqueue: true  | 
 | 60 | +    queue_conditions:  | 
 | 61 | +      - base=main  | 
 | 62 | +      - and: *CheckRuns  | 
 | 63 | +      - "#commits=1"  | 
 | 64 | +      - or:  | 
 | 65 | +          - and:  | 
 | 66 | +              - author=mergify-ci-bot  | 
 | 67 | +              - head~=^clifus/  | 
 | 68 | +              - "title~=^chore: bump"  | 
 | 69 | +          - and:  | 
 | 70 | +              - author=mergify-ci-bot  | 
 | 71 | +              - head=trivy/daily-report  | 
 | 72 | +              - label!=new CVE  | 
 | 73 | +          - and:  | 
 | 74 | +              - author=mergify-ci-bot  | 
 | 75 | +              - head=openapi-spec-sync  | 
 | 76 | +          - author=dependabot[bot]  | 
 | 77 | +    merge_method: merge  | 
 | 78 | +    merge_conditions:  | 
 | 79 | +      - and: *CheckRuns  | 
 | 80 | +      - and:  | 
 | 81 | +          - not: *IsPublicHolidays  | 
 | 82 | +          - schedule=Mon-Fri 09:00-17:00[Europe/Paris]  | 
 | 83 | +    batch_size: 7  | 
 | 84 | +    batch_max_wait_time: 5min  | 
 | 85 | +    commit_message_template:  | 
 | 86 | +    queue_branch_merge_method: fast-forward  | 
 | 87 | + | 
 | 88 | +pull_request_rules:  | 
 | 89 | +  - name: request review  | 
 | 90 | +    conditions:  | 
 | 91 | +      - -author=dependabot[bot]  | 
 | 92 | +      - -author=mergify-ci-bot  | 
 | 93 | +      - -merged  | 
 | 94 | +      - -closed  | 
 | 95 | +      - and: *CheckRuns  | 
 | 96 | +      - "#changes-requested-reviews-by=0"  | 
 | 97 | +      - review-requested!=@devs  | 
 | 98 | +      - not:  | 
 | 99 | +         or: *DefaultReviewCond  | 
 | 100 | +    actions:  | 
 | 101 | +      request_reviews:  | 
 | 102 | +        teams:  | 
 | 103 | +          - devs  | 
0 commit comments