diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95cb5747..654cfb38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,16 +6,6 @@ on: - '*' jobs: - pr-title-lint: - name: PR Title (Conventional Commits) - runs-on: ubuntu-latest - permissions: - pull-requests: read - steps: - - uses: amannn/action-semantic-pull-request@v6 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - unit-tests: name: Unit Tests runs-on: ubuntu-latest diff --git a/.github/workflows/pr-title-lint.yml b/.github/workflows/pr-title-lint.yml new file mode 100644 index 00000000..d208d107 --- /dev/null +++ b/.github/workflows/pr-title-lint.yml @@ -0,0 +1,21 @@ +name: PR Title Lint + +on: + pull_request: + types: + - opened + - edited + - reopened + branches: + - 'develop' + +jobs: + pr-title-lint: + name: PR Title (Conventional Commits) + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}