From 40f3b9ec99703f17a347357e5e702c575dc50fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Fo=C5=99t?= Date: Mon, 28 Oct 2024 08:59:21 +0100 Subject: [PATCH] chore: add conventional PR check (#64) --- .github/workflows/conventional-pr.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/conventional-pr.yml diff --git a/.github/workflows/conventional-pr.yml b/.github/workflows/conventional-pr.yml new file mode 100644 index 0000000..d92c053 --- /dev/null +++ b/.github/workflows/conventional-pr.yml @@ -0,0 +1,22 @@ +name: conventional-pr +on: + pull_request: + paths: + - "Sources/**" + - "Package.swift" + - "Package.Package.resolved" + branches: + - main + types: + - opened + - edited + - synchronize + +jobs: + lint-pr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: CondeNast/conventional-pull-request-action@v0.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}