mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
24 lines
652 B
YAML
24 lines
652 B
YAML
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/kubebuilder-release-tools@v0.3.0
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|