Skip to content

Use TianoCore App settings instead of token #48

Use TianoCore App settings instead of token

Use TianoCore App settings instead of token #48

## @file
# Check CODEOWNERS coverage of all files in PR
#
# Only run this check if one or more files modified in the PR
# are not CODEOWNERS, REVIEWERS, or Maintainers.txt.
#
# Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
name: Check CODEOWNERS coverage of all files in PR
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- 'master'
paths-ignore:
- 'CODEOWNERS'
- 'docs/CODEOWNERS'
- '.github/CODEOWNERS'
- 'REVIEWERS'
- 'docs/REVIEWERS'
- '.github/REVIEWERS'
- 'Maintainers.txt'
jobs:
codeowners_files_validator:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout Pull Request
uses: actions/checkout@v4
- name: CODEOWNERS Validator
uses: mszostok/[email protected]
with:
checks: "files"
experimental_checks: "notowned"
github_app_id: ${{ secrets.APPLICATION_ID }}
github_app_installation_id: ${{ secrets.APPLICATION_INSTALLATION_ID }}
github_app_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}