diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 751e8a5..b5d8cfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,8 @@ name: CI run-name: CI — ${{ github.head_ref || github.ref_name }} on: + push: + branches: [main] pull_request: branches: [main] # Allow running manually for debugging. @@ -23,6 +25,7 @@ jobs: # ────────────────────────────────────────────── commitlint: name: Lint PR Title + if: github.event_name == 'pull_request' runs-on: ubuntu-latest steps: - uses: amannn/action-semantic-pull-request@v5