Use TianoCore App settings instead of token #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## @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_access_token: ${{secrets.GITHUB_TOKEN}} |