Skip to content

Commit 55d6777

Browse files
committed
ci: run PR metadata checks as separate steps
1 parent d3a3beb commit 55d6777

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎.github/workflows/pr_metadata.yaml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ permissions:
3030

3131
jobs:
3232
metadata:
33-
name: PR ${{ matrix.check }}
33+
name: PR metadata
3434
runs-on: ubuntu-24.04
3535
timeout-minutes: 5
36-
strategy:
37-
fail-fast: false
38-
matrix:
39-
check: [title, description]
4036
steps:
4137
- name: Checkout validation script
38+
id: checkout
4239
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4340
with:
4441
persist-credentials: false
45-
- name: Check PR metadata
46-
run: python3 ci/scripts/check_pr_metadata.py ${{ matrix.check }}
42+
- name: Check PR title
43+
run: python3 ci/scripts/check_pr_metadata.py title
44+
- name: Check PR description
45+
if: ${{ !cancelled() && steps.checkout.outcome == 'success' }}
46+
run: python3 ci/scripts/check_pr_metadata.py description

0 commit comments

Comments
 (0)