2.3.3.5.9. Repository

  • Relative Filepath[1]: dev/repo.yaml

  • Pre-configured: True

[1]: Filepath is relative to the root of the control center directory.

$schema: https://json-schema.org/draft/2020-12/schema
title: meta_dev_issues
description: GitHub issues settings for the project
type: object
default: { }
additionalProperties: false
properties:
  config:
    description: Configuration for the repository
    type: object
    default: {}
    additionalProperties: false
    properties:
      description:
        description: Description of the repository
        type: string
        default: "${{ tagline }}"
      homepage:
        description: URL for the project homepage
        type: string
        format: uri
        default: "${{ url.website.base }}"
      topics:
        description: List of topics for the repository
        default: "${{ keyword_slugs }}"
        oneOf:
          - type: string
          - type: array
            uniqueItems: true
            items:
              type: string
              maxLength: 50
              pattern: ^[a-z0-9][a-z0-9\-]*$
      secret_scanning:
        description: Enable secret scanning for the repository
        type: boolean
        default: true
      secret_scanning_push_protection:
        description: Enable secret scanning push protection for the repository
        type: boolean
        default: true
      vulnerability_alerts:
        description: Enable vulnerability alerts for the repository
        type: boolean
        default: true
      automated_security_fixes:
        description: Enable automated security fixes for the repository
        type: boolean
        default: true
      private_vulnerability_reporting:
        description: Enable private vulnerability reporting for the repository
        type: boolean
        default: true
      has_discussions:
        description: Enable discussions for the repository
        type: boolean
        default: true
      has_projects:
        type: boolean
        default: false
      has_wiki:
        type: boolean
        default: false
      allow_merge_commit:
        type: boolean
        default: false
      allow_rebase_merge:
        type: boolean
        default: true
      allow_auto_merge:
        type: boolean
        default: false
      delete_branch_on_merge:
        type: boolean
        default: true
      allow_update_branch:
        type: boolean
        default: true
      merge_commit_title:
        enum: [ PR_TITLE, MERGE_MESSAGE ]
        default: PR_TITLE
      merge_commit_message:
        enum: [ PR_TITLE, PR_BODY, BLANK ]
        default: PR_BODY
      archived:
        type: boolean
        default: false
  gitattributes:
    description: List of files and directories to treat as text or binary
    type: array
    default: [ ]
    uniqueItems: true
    items:
      type: object
      minProperties: 1
      maxProperties: 1
      additionalProperties:
        type: array
        minItems: 1
        items:
          type: string
  gitignore:
    description: List of files and directories to ignore in the repository
    type: array
    default: []
    uniqueItems: true
    items:
      type: string
  target:
    description: Target repository for development
    default: source
    enum: [ source, parent, self ]
required: [ config, target ]
config:
  description: ${{ tagline }}
  homepage: ${{ url.website.base }}
  topics: ${{ keyword_slugs }}
  secret_scanning: true
  secret_scanning_push_protection: true
  vulnerability_alerts: true
  automated_security_fixes: true
  private_vulnerability_reporting: true
  has_discussions: true
  has_projects: false
  has_wiki: false
  allow_merge_commit: false
  allow_rebase_merge: true
  allow_auto_merge: false
  delete_branch_on_merge: true
  allow_update_branch: true
  merge_commit_title: PR_TITLE
  merge_commit_message: PR_BODY
  archived: false
gitattributes: []
gitignore: []
target: source

2.3.3.5.9.1. Automatically Deleting Branches after Merge

https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-the-automatic-deletion-of-branches

2.3.3.5.9.2. Enabling Private Vulnerability Reporting

https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository#enabling-or-disabling-private-vulnerability-reporting-for-a-repository

2.3.3.5.9.3. .gitignore File

https://github.com/github/gitignore

2.3.3.5.9.4. .gitattributes File