diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..bfd0adc4 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,48 @@ +## @file +# Dependabot configuration file to enable GitHub services for managing and updating +# dependencies. +# +# NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there +# instead of the file in this repo. +# +# This dependabot file is limited to syncing the following type of dependencies. Other files +# are already available in Mu DevOps to sync other dependency types. +# - GitHub Actions (`github-actions`) +# - Python PIP Modules (`pip`) +# +# - Mu DevOps Repo: https://github.com/microsoft/mu_devops +# - File Sync Settings: https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml +# +# Copyright (c) Microsoft Corporation. +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +# Please see the documentation for all dependabot configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +## + +version: 2 + +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + commit-message: + prefix: "GitHub Action" + labels: + - "type:dependencies" + reviewers: + - "microsoft/project-mu-dependency-reviewers" + + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "daily" + commit-message: + prefix: "pip" + labels: + - "language:python" + - "type:dependencies" + reviewers: + - "microsoft/project-mu-dependency-reviewers" diff --git a/.github/workflows/label-sync.yml b/.github/workflows/label-sync.yml new file mode 100644 index 00000000..e7b493ee --- /dev/null +++ b/.github/workflows/label-sync.yml @@ -0,0 +1,27 @@ +# This workflow syncs GitHub labels to the common set of labels defined in Mu DevOps. +# +# All repos should sync at the same time. +# '0 0,12 * * *'' +# +# NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there +# instead of the file in this repo. +# +# - Mu DevOps Repo: https://github.com/microsoft/mu_devops +# - File Sync Settings: https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml +# +# Copyright (c) Microsoft Corporation. +# SPDX-License-Identifier: BSD-2-Clause-Patent +# + +name: Sync GitHub Labels + +on: + schedule: + # At minute 0 past hour 0 and 12 + # https://crontab.guru/#0_0,12_*_*_* + - cron: '0 0,12 * * *' + workflow_dispatch: + +jobs: + sync: + uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@main diff --git a/.github/workflows/stale-leaf.yml b/.github/workflows/stale-leaf.yml new file mode 100644 index 00000000..043c26b8 --- /dev/null +++ b/.github/workflows/stale-leaf.yml @@ -0,0 +1,27 @@ +# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. +# +# NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there +# instead of the file in this repo. +# +# - Mu DevOps Repo: https://github.com/microsoft/mu_devops +# - File Sync Settings: https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml +# +# Copyright (c) Microsoft Corporation. +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/actions/stale + +name: Check for Stale Issues and Pull Requests + +on: + schedule: + # At 23:35 on every day-of-week from Sunday through Saturday + # https://crontab.guru/#35_23_*_*_0-6 + - cron: '35 23 * * 0-6' + workflow_dispatch: + +jobs: + check: + uses: microsoft/mu_devops/.github/workflows/Stale.yml@main diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 00000000..d9ec238b --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,21 @@ +## @file +# markdownlint configuration +# +# NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there +# instead of the file in this repo. +# +# - Mu DevOps Repo: https://github.com/microsoft/mu_devops +# - File Sync Settings: https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml +# +# Copyright (c) Microsoft Corporation. +# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +# Rules can be found here: https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md +# Config info: https://github.com/DavidAnson/markdownlint#configuration + +{ + "default": true, + "MD013": {"line_length": 120, "code_blocks": false, "tables": false}, + "MD033": {"allowed_elements": ["br"]} +} diff --git a/LICENSE.txt b/LICENSE.txt index 6de3d8cd..28acc527 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -BSD-2-Clause-Patent License - -Copyright (C) Microsoft Corporation. All rights reserved. -SPDX-License-Identifier: BSD-2-Clause-Patent +BSD-2-Clause-Patent License + +Copyright (C) Microsoft Corporation. All rights reserved. +SPDX-License-Identifier: BSD-2-Clause-Patent