Skip to content

Commit 3124f62

Browse files
author
rahul-infra
committed
debug PR title check.
1 parent 978e1b8 commit 3124f62

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/pr-title.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,25 @@ jobs:
88
name: Validate PR title
99
runs-on: ubuntu-latest
1010
steps:
11+
- name: Debug - Show PR context
12+
run: |
13+
echo "=== DEBUG: PR Title Check Input ==="
14+
echo "Event name: ${{ github.event_name }}"
15+
echo "PR Title: ${{ github.event.pull_request.title }}"
16+
echo "PR Number: ${{ github.event.pull_request.number }}"
17+
echo "Base Ref: ${{ github.event.pull_request.base.ref }}"
18+
echo "Head Ref: ${{ github.event.pull_request.head.ref }}"
19+
echo "==================================="
20+
1121
# Please look up the latest version from
1222
# https://github.com/amannn/action-semantic-pull-request/releases
1323
- uses: amannn/action-semantic-pull-request@v6.1.1
1424
env:
1525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1626
with:
27+
# Enable debug output
28+
ignoreLabels: |
29+
ignore-semantic-pull-request
1730
# Configure which types are allowed.
1831
# Default: https://github.com/commitizen/conventional-commit-types
1932
types: |

0 commit comments

Comments
 (0)