|  | 
|  | 1 | +repository: | 
|  | 2 | +  # See https://developer.github.com/v3/repos/#edit for all available settings. | 
|  | 3 | + | 
|  | 4 | +  # The name of the repository. Changing this will rename the repository | 
|  | 5 | +  name: exploit-db-server | 
|  | 6 | + | 
|  | 7 | +  # A short description of the repository that will show up on GitHub | 
|  | 8 | +  description: Combined server and periodic updater based on https://github.com/vulsio/go-exploitdb | 
|  | 9 | + | 
|  | 10 | +  # A URL with more information about the repository | 
|  | 11 | +  homepage: openclarity.io | 
|  | 12 | + | 
|  | 13 | +  # Updates the default branch for this repository. | 
|  | 14 | +  default_branch: main | 
|  | 15 | + | 
|  | 16 | +  # Either `true` to enable automated security fixes, or `false` to disable | 
|  | 17 | +  # automated security fixes. | 
|  | 18 | +  enable_automated_security_fixes: true | 
|  | 19 | + | 
|  | 20 | +  # Either `true` to enable vulnerability alerts, or `false` to disable | 
|  | 21 | +  # vulnerability alerts. | 
|  | 22 | +  enable_vulnerability_alerts: true | 
|  | 23 | + | 
|  | 24 | +  # Either `true` to allow squash-merging pull requests, or `false` to prevent | 
|  | 25 | +  # squash-merging. | 
|  | 26 | +  allow_squash_merge: true | 
|  | 27 | + | 
|  | 28 | +  # Either `true` to allow merging pull requests with a merge commit, or `false` | 
|  | 29 | +  # to prevent merging pull requests with merge commits. | 
|  | 30 | +  allow_merge_commit: false | 
|  | 31 | + | 
|  | 32 | +  # Either `true` to allow rebase-merging pull requests, or `false` to prevent | 
|  | 33 | +  # rebase-merging. | 
|  | 34 | +  allow_rebase_merge: true | 
|  | 35 | + | 
|  | 36 | +  # Either `true` to enable automatic deletion of branches on merge, or `false` to disable | 
|  | 37 | +  delete_branch_on_merge: true | 
|  | 38 | + | 
|  | 39 | +# See https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions for available options | 
|  | 40 | +teams: | 
|  | 41 | +  - name: vmclarity-admins | 
|  | 42 | +    # The permission to grant the team. Can be one of: | 
|  | 43 | +    # * `pull` - can pull, but not push to or administer this repository. | 
|  | 44 | +    # * `push` - can pull and push, but not administer this repository. | 
|  | 45 | +    # * `admin` - can pull, push and administer this repository. | 
|  | 46 | +    # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. | 
|  | 47 | +    permission: admin | 
|  | 48 | + | 
|  | 49 | +  - name: vmclarity-maintainers | 
|  | 50 | +    permission: maintain | 
|  | 51 | + | 
|  | 52 | +# Collaborators: give specific users access to this repository. | 
|  | 53 | +# See https://docs.github.com/en/rest/reference/collaborators for available options | 
|  | 54 | +collaborators: [] | 
|  | 55 | + | 
|  | 56 | +branches: | 
|  | 57 | +  - name: main | 
|  | 58 | +    # https://docs.github.com/en/rest/reference/repos#update-branch-protection | 
|  | 59 | +    # Branch Protection settings. Set to null to disable | 
|  | 60 | +    protection: | 
|  | 61 | +      # Required. Require at least one approving review on a pull request, before merging. Set to null to disable. | 
|  | 62 | +      required_pull_request_reviews: | 
|  | 63 | +        # The number of approvals required. (1-6) | 
|  | 64 | +        required_approving_review_count: 1 | 
|  | 65 | +        # Dismiss approved reviews automatically when a new commit is pushed. | 
|  | 66 | +        dismiss_stale_reviews: true | 
|  | 67 | +        # Blocks merge until code owners have reviewed. | 
|  | 68 | +        require_code_owner_reviews: true | 
|  | 69 | +        # Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions object to disable. User and team dismissal_restrictions are only available for organization-owned repositories. Omit this parameter for personal repositories. | 
|  | 70 | +        dismissal_restrictions: | 
|  | 71 | +          users: [] | 
|  | 72 | +          teams: | 
|  | 73 | +            - vmclarity-maintainers | 
|  | 74 | +      # Required. Require status checks to pass before merging. Set to null to disable | 
|  | 75 | +      required_status_checks: | 
|  | 76 | +        # Required. Require branches to be up to date before merging. | 
|  | 77 | +        strict: true | 
|  | 78 | +        # Required. The list of status checks to require in order to merge into this branch | 
|  | 79 | +        contexts: | 
|  | 80 | +          - Build / exploit-db-server | 
|  | 81 | + | 
|  | 82 | +      # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. | 
|  | 83 | +      enforce_admins: true | 
|  | 84 | +      # Prevent merge commits from being pushed to matching branches | 
|  | 85 | +      required_linear_history: true | 
|  | 86 | +      # Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable. | 
|  | 87 | +      restrictions: | 
|  | 88 | +        apps: [] | 
|  | 89 | +        users: [] | 
|  | 90 | +        teams: [] | 
0 commit comments