microsoft/mu_feature_ffa
Publicmirrored fromhttps://github.com/microsoft/mu_feature_ffaAvailable
.github/workflows/auto-approve.yml
33lines · modecode
| 1 | # This workflow automatically approves pull requests under certain conditions. |
| 2 | # |
| 3 | # NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there |
| 4 | # instead of the file in this repo. |
| 5 | # |
| 6 | # NOTE: This file uses a reusable workflow. Do not make changes to the file that should be made |
| 7 | # in the common/reusable workflow. |
| 8 | # |
| 9 | # - Mu DevOps Repo: https://github.com/microsoft/mu_devops |
| 10 | # - File Sync Settings: https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml |
| 11 | # |
| 12 | # Copyright (c) Microsoft Corporation. |
| 13 | # SPDX-License-Identifier: BSD-2-Clause-Patent |
| 14 | # |
| 15 | |
| 16 | name: Auto Approve Pull Request |
| 17 | |
| 18 | on: |
| 19 | pull_request_target: |
| 20 | types: |
| 21 | - opened |
| 22 | - reopened |
| 23 | |
| 24 | jobs: |
| 25 | approval_check: |
| 26 | |
| 27 | permissions: |
| 28 | pull-requests: write |
| 29 | |
| 30 | if: | |
| 31 | github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot' |
| 32 | uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v10.0.0 |
| 33 | secrets: inherit |
| 34 | |