From 6ce2faf27c0ac02cbf095968a9f6a17afe3e2369 Mon Sep 17 00:00:00 2001 From: "Project Mu UEFI Bot [bot]" <45776386+uefibot@users.noreply.github.com> Date: Mon, 9 Jan 2023 20:34:43 -0500 Subject: [PATCH] Repo File Sync: Synced file(s) with microsoft/mu_devops (#80) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#3877034399](https://github.com/microsoft/mu_devops/actions/runs/3877034399) Signed-off-by: Project Mu UEFI Bot --- .github/dependabot.yml | 4 ---- .github/workflows/auto-approve.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/auto-approve.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index bfd0adc4..4d82ce9f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -32,8 +32,6 @@ updates: prefix: "GitHub Action" labels: - "type:dependencies" - reviewers: - - "microsoft/project-mu-dependency-reviewers" - package-ecosystem: "pip" directory: "/" @@ -44,5 +42,3 @@ updates: labels: - "language:python" - "type:dependencies" - reviewers: - - "microsoft/project-mu-dependency-reviewers" diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml new file mode 100644 index 00000000..7c987d6f --- /dev/null +++ b/.github/workflows/auto-approve.yml @@ -0,0 +1,29 @@ +# This workflow automatically approves pull requests under certain conditions. +# +# NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there +# instead of the file in this repo. +# +# NOTE: This file uses a reusable workflow. Do not make changes to the file that should be made +# in the common/reusable workflow. +# +# - 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: Auto Approve Pull Request + +on: + pull_request_target: + types: + - opened + - reopened + +jobs: + approval_check: + if: | + github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot' + uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v1.4.2 + secrets: inherit