From 9af1ea1c6ae3555b77d2f44427d7d4e37b113cff Mon Sep 17 00:00:00 2001 From: muhammad adil ghaffar Date: Thu, 2 Nov 2023 10:37:55 +0200 Subject: [PATCH] Adding PR title verifier --- .github/workflows/pr-verifier.yaml | 19 +++++++++++++++++++ .gitignore | 5 +++++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/pr-verifier.yaml diff --git a/.github/workflows/pr-verifier.yaml b/.github/workflows/pr-verifier.yaml new file mode 100644 index 0000000000..783dce6161 --- /dev/null +++ b/.github/workflows/pr-verifier.yaml @@ -0,0 +1,19 @@ +name: PR Verifier + +on: + pull_request_target: + types: [opened, edited, reopened, synchronize] + +permissions: + checks: write + +jobs: + verify: + runs-on: ubuntu-latest + name: verify PR contents + steps: + - name: Verifier action + id: verifier + uses: kubernetes-sigs/kubebuilder-release-tools@e389278c2051863fb39b8de00159c8d7fac760ea # v0.4.1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 2ced50a2a4..0f1e5fd8b7 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,11 @@ releasenotes # goland .idea +# Common editor / temporary files +*~ +*.tmp +.DS_Store + bin/* hack/tools/bin/* examples/_out/*