|
| 1 | +--- |
| 2 | +# These settings are synced to GitHub by https://probot.github.io/apps/settings/ |
| 3 | + |
| 4 | +repository: |
| 5 | + # See https://docs.github.com/en/rest/reference/repos#update-a-repository for all available settings. |
| 6 | + |
| 7 | + # The name of the repository. Changing this will rename the repository |
| 8 | + # name: repo-name |
| 9 | + |
| 10 | + # A short description of the repository that will show up on GitHub |
| 11 | + # description: description of repo |
| 12 | + |
| 13 | + # A URL with more information about the repository |
| 14 | + # homepage: https://example.github.io/ |
| 15 | + |
| 16 | + # A comma-separated list of topics to set on the repository |
| 17 | + # topics: github, probot |
| 18 | + |
| 19 | + # Either `true` to make the repository private, or `false` to make it public. |
| 20 | + private: false |
| 21 | + |
| 22 | + # Either `true` to enable issues for this repository, `false` to disable them. |
| 23 | + has_issues: false |
| 24 | + |
| 25 | + # Either `true` to enable projects for this repository, or `false` to disable them. |
| 26 | + # If projects are disabled for the organization, passing `true` will cause an API error. |
| 27 | + has_projects: false |
| 28 | + |
| 29 | + # Either `true` to enable the wiki for this repository, `false` to disable it. |
| 30 | + has_wiki: false |
| 31 | + |
| 32 | + # Either `true` to enable downloads for this repository, `false` to disable them. |
| 33 | + has_downloads: true |
| 34 | + |
| 35 | + # Updates the default branch for this repository. |
| 36 | + default_branch: main |
| 37 | + |
| 38 | + # Either `true` to allow squash-merging pull requests, or `false` to prevent |
| 39 | + # squash-merging. |
| 40 | + allow_squash_merge: true |
| 41 | + |
| 42 | + # Either `true` to allow merging pull requests with a merge commit, or `false` |
| 43 | + # to prevent merging pull requests with merge commits. |
| 44 | + allow_merge_commit: false |
| 45 | + |
| 46 | + # Either `true` to allow rebase-merging pull requests, or `false` to prevent |
| 47 | + # rebase-merging. |
| 48 | + allow_rebase_merge: true |
| 49 | + |
| 50 | + # Either `true` to enable automatic deletion of branches on merge, or `false` to disable |
| 51 | + delete_branch_on_merge: true |
| 52 | + |
| 53 | + # Either `true` to enable automated security fixes, or `false` to disable |
| 54 | + # automated security fixes. |
| 55 | + enable_automated_security_fixes: true |
| 56 | + |
| 57 | + # Either `true` to enable vulnerability alerts, or `false` to disable |
| 58 | + # vulnerability alerts. |
| 59 | + enable_vulnerability_alerts: true |
| 60 | + |
| 61 | +branches: |
| 62 | +- name: main |
| 63 | + protection: |
| 64 | + required_pull_request_reviews: |
| 65 | + required_status_checks: |
| 66 | + strict: true |
| 67 | + contexts: [pre-commit, Create Release, 'Create Release Artifacts (aarch64, linux-gnu)', 'Create Release Artifacts (aarch64, linux-musl)', 'Create |
| 68 | + Release Artifacts (x86_64, linux-gnu)', 'Create Release Artifacts (x86_64, linux-musl)'] |
| 69 | + enforce_admins: |
| 70 | + required_linear_history: true |
| 71 | + restrictions: |
0 commit comments