From dfd873fca6665626e63ba55a38f4913565851c75 Mon Sep 17 00:00:00 2001 From: Mikko Kotila Date: Mon, 18 Nov 2024 15:59:16 +0200 Subject: [PATCH 1/2] ci: Add conventional commits PR check --- .github/workflows/conventional-commits.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/conventional-commits.yml diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml new file mode 100644 index 0000000..57a649c --- /dev/null +++ b/.github/workflows/conventional-commits.yml @@ -0,0 +1,15 @@ +name: PR Conventional Commit Validation + +on: + pull_request: + types: [opened, synchronize, reopened, edited] + +jobs: + validate-pr-title: + runs-on: ubuntu-latest + steps: + - name: PR Conventional Commit Validation + uses: ytanikin/pr-conventional-commits@1.4.0 + with: + task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]' + add_label: 'false' From b6e66c646952c3d4dd02d49cd2bea44015bc160a Mon Sep 17 00:00:00 2001 From: Mikko Kotila Date: Mon, 18 Nov 2024 16:05:12 +0200 Subject: [PATCH 2/2] ci: Update Actions versions in ci-push.yml --- .github/workflows/ci-push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-push.yml b/.github/workflows/ci-push.yml index 57fff2b..9a8b9c3 100644 --- a/.github/workflows/ci-push.yml +++ b/.github/workflows/ci-push.yml @@ -13,9 +13,9 @@ jobs: os: [ubuntu-latest, macos-latest] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Dependencies