✨ Add support for pfid megacomplex (#1510) #2992
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
name: "Codeowners Validator" | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request_target: | |
workflow_dispatch: | |
jobs: | |
validate: | |
name: "Validate" | |
if: github.repository_owner == 'glotaran' | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository, which is validated in the next step | |
- name: show event name | |
run: echo "${{ github.event_name }}" | |
- name: Checkout pull request | |
if: github.event_name == 'pull_request_target' | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Checkout repo | |
if: github.event_name != 'pull_request_target' | |
uses: actions/checkout@v4 | |
- name: GitHub CODEOWNERS Validator | |
uses: mszostok/[email protected] | |
with: | |
checks: "files,owners,duppatterns" | |
experimental_checks: "notowned" | |
# GitHub access token is required only if the `owners` check is enabled | |
github_access_token: "${{ secrets.OWNERS_VALIDATOR_GITHUB_SECRET }}" |