diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d52927c..45d2319 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,4 +3,16 @@ ## Why ## Notes - \ No newline at end of file + + +## Labels + +Assign the following labels to the PR: + +`security` - to trigger image scanning in CI build + +## PR Comments + +Add the following comments to the PR: + +`/e2e` - to trigger E2E build diff --git a/.github/workflows/validate-pr-title.yaml b/.github/workflows/validate-pr-title.yaml new file mode 100644 index 0000000..15ab72c --- /dev/null +++ b/.github/workflows/validate-pr-title.yaml @@ -0,0 +1,21 @@ +## Reference: https://github.com/amannn/action-semantic-pull-request +name: PR title + +on: + pull_request: + types: + - opened + - reopened + - edited + - synchronize + +jobs: + validate-pr-title: + runs-on: ubuntu-latest + steps: + + - uses: amannn/action-semantic-pull-request@v5.4.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + requireScope: false \ No newline at end of file