Skip to content

Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.11.0 in the gh-actions group across 1 directory #3109

Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.11.0 in the gh-actions group across 1 directory

Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.11.0 in the gh-actions group across 1 directory #3109

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 }}"