[pull] main from open-cluster-management-io:main #2
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
# Copyright Contributors to the Open Cluster Management project | |
name: PR Verifier | |
on: | |
# NB: using `pull_request_target` runs this in the context of | |
# the base repository, so it has permission to upload to the checks API. | |
# This means changes won't kick in to this file until merged onto the | |
# main branch. | |
pull_request_target: | |
types: [opened, edited, reopened, synchronize] | |
jobs: | |
verify: | |
name: verify PR contents | |
permissions: | |
checks: write | |
pull-requests: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Verifier action | |
id: verifier | |
uses: kubernetes-sigs/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |