PCP-2010: validation checks added #196
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: verify | |
on: | |
pull_request_target: | |
types: [opened, edited, synchronize, reopened] | |
permissions: | |
checks: write # Allow access to checks to write check runs. | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
name: verify PR contents | |
steps: | |
- name: Verifier action | |
id: verifier | |
uses: kubernetes-sigs/[email protected] | |
# Don't run this step on PRs created by the cherry-pick bot, | |
# as the PR description is too short, but otherwise the PRs are fine. | |
if: ${{ github.event.pull_request.head.repo.owner.login != 'k8s-infra-cherrypick-robot' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |