diff --git a/.github/workflows/pr-verifier.yaml b/.github/workflows/pr-verifier.yaml new file mode 100644 index 0000000..9cc5245 --- /dev/null +++ b/.github/workflows/pr-verifier.yaml @@ -0,0 +1,21 @@ +name: pr-verifier + +on: + pull_request_target: + types: [opened, edited, reopened, synchronize] + +jobs: + verify-pr: + name: verify PR contents + # Skip verification for dependabot PRs - they use different title conventions + if: github.actor != 'dependabot[bot]' + permissions: + checks: write + pull-requests: read + runs-on: ubuntu-latest + steps: + - name: Verifier action + id: verifier + uses: kubernetes-sigs/kubebuilder-release-tools@v0.4.3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }}