diff --git a/.github/workflows/semantei-pull-request.yml b/.github/workflows/semantei-pull-request.yml new file mode 100644 index 0000000000..22cddca4b4 --- /dev/null +++ b/.github/workflows/semantei-pull-request.yml @@ -0,0 +1,50 @@ +name: "Check PR title format" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + # Configure which types are allowed (newline delimited). + # Default: https://github.com/commitizen/conventional-commit-types + # Our specific types/scopes (from https://github.com/dashpay/dash/blob/master/CONTRIBUTING.md#contributor-workflow) + types: | + design + feat + fix + docs + style + refactor + perf + test + build + ci + chore + revert + trivial + backport + # Configure which scopes are allowed (newline delimited). + scopes: | + ui + common + uphold + coinbase + crowdnode + dashdirect + explore-dash + syncing + sample-app + testnet + dashpay + wallet \ No newline at end of file