fix(ci): pr title workflow should be executed on updates
This commit is contained in:
parent
ea8e5eb0c0
commit
bb1c2c5875
5
.github/workflows/pr-title.yml
vendored
5
.github/workflows/pr-title.yml
vendored
@ -2,7 +2,7 @@ name: ✅ Check PR Title
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, edited]
|
||||
types: [opened, edited, synchronize]
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
@ -10,11 +10,8 @@ permissions:
|
||||
jobs:
|
||||
lint-pr-title:
|
||||
name: Check PR Title
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
if: ${{ github.event.action == 'opened' || github.event.changes.title != null }}
|
||||
|
||||
steps:
|
||||
- name: 📥 Checkout
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user