diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml new file mode 100644 index 00000000..7594cabb --- /dev/null +++ b/.github/workflows/pr-title-check.yml @@ -0,0 +1,24 @@ +name: PR Conventions Checks + +on: + pull_request: + types: [opened, edited, reopened, synchronize] + +permissions: + contents: read + +jobs: + verify: + runs-on: ubuntu-latest + name: Verify PR contents + steps: + - name: Checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false + - name: Check Title + id: verifier + # Using @main from trusted Konveyor org; pinned SHA available but @main preferred for automatic updates + uses: konveyor/release-tools/cmd/verify-pr@main + with: + github_token: ${{ secrets.GITHUB_TOKEN }}