fix(ci): pr title workflow should be executed on updates

This commit is contained in:
Philipp Kief 2025-03-17 08:21:07 +01:00
parent ea8e5eb0c0
commit bb1c2c5875
No known key found for this signature in database
GPG Key ID: A8C6D8A9108F37B2

View File

@ -2,7 +2,7 @@ name: ✅ Check PR Title
on: on:
pull_request: pull_request:
types: [opened, edited] types: [opened, edited, synchronize]
permissions: permissions:
pull-requests: write pull-requests: write
@ -10,11 +10,8 @@ permissions:
jobs: jobs:
lint-pr-title: lint-pr-title:
name: Check PR Title name: Check PR Title
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' || github.event.changes.title != null }}
steps: steps:
- name: 📥 Checkout - name: 📥 Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2