github.com/jenkins-x/jx/v2@v2.1.155/pkg/pipelinescheduler/test_data/policy_with_parent/config.yaml (about)

     1  branch-protection:
     2    orgs:
     3      acme:
     4        repos:
     5          dummy:
     6            protect: true
     7            required_status_checks:
     8              contexts:
     9              - integration
    10    required_status_checks:
    11      contexts:
    12        - test5
    13        - test6
    14    protect-tested-repos: true
    15    protect: true
    16    enforce_admins: true
    17    required_pull_request_reviews:
    18      dismiss_stale_reviews: true
    19      require_code_owner_reviews: true
    20      required_approving_review_count: 6
    21      dismissal_restrictions:
    22        users:
    23          - user1
    24          - user2
    25        teams:
    26          - team5
    27          - team6
    28          - team1
    29          - team2
    30    restrictions:
    31      users:
    32        - user3
    33        - user4
    34        - user1
    35        - user2
    36  
    37      teams:
    38        - team3
    39        - team4
    40  # TODO reinstate this
    41  #deck:
    42  #  spyglass: {}
    43  #gerrit: {}
    44  #owners_dir_blacklist:
    45  #  default: null
    46  #  repos: null
    47  #plank: {}
    48  #pod_namespace: jx
    49  postsubmits:
    50    acme/dummy:
    51    - agent: tekton
    52      branches:
    53      - master
    54      # TODO switch this to tekton
    55      #build_spec:
    56      #  serviceAccountName: knative-build-bot
    57      #  template:
    58      #    name: jenkins-base
    59      context: ""
    60      name: release
    61  presubmits:
    62    acme/dummy:
    63    - agent: tekton
    64      always_run: true
    65      #build_spec:
    66      #  serviceAccountName: helm
    67      #  template:
    68      #    name: jenkins-base
    69      context: integration
    70      name: integration
    71      rerun_command: /test this
    72      trigger: (?m)^/test( all| this),?(\s+|$)
    73  #prowjob_namespace: jx
    74  #push_gateway: {}
    75  #sinker: {}
    76  tide:
    77    context_options:
    78      from-branch-protection: true
    79      required-if-present-contexts: null
    80      skip-unknown-contexts: false
    81    queries:
    82    - labels:
    83      - approved
    84      missingLabels:
    85      - do-not-merge
    86      - do-not-merge/hold
    87      - do-not-merge/work-in-progress
    88      - needs-ok-to-test
    89      - needs-rebase
    90      repos:
    91      - acme/dummy
    92    #target_url: https://tide.foo.bar