From 9dccd84725704e2b3b6b7b2aee16829ca416904f Mon Sep 17 00:00:00 2001 From: "libp2p-mgmt-read-write[bot]" <104492852+libp2p-mgmt-read-write[bot]@users.noreply.github.com> Date: Wed, 22 Feb 2023 07:53:32 +0000 Subject: [PATCH] chore: Update .github/workflows/semantic-pull-request.yml [skip ci] --- .github/workflows/semantic-pull-request.yml | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/semantic-pull-request.yml diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml new file mode 100644 index 0000000000..6ce44e57f6 --- /dev/null +++ b/.github/workflows/semantic-pull-request.yml @@ -0,0 +1,29 @@ +name: "Semantic PR" + +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@01d5fd8a8ebb9aafe902c40c53f0f4744f7381eb # v5.0.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + # Configure which types are allowed (newline delimited). + types: | + feat + fix + chore + docs + deps + test + refactor + ci + requireScope: false