Skip to content

Commit 906dcea

Browse files
author
rahul-infra
committed
updated statuses: write.
1 parent 99b2731 commit 906dcea

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

.github/workflows/pr-title.yaml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ jobs:
6767
echo " PR TITLE VALIDATION PASSED"
6868
echo "==================================="
6969
echo "PR Title: ${{ github.event.pull_request.title }}"
70-
echo "Status: VALID ✓"
71-
echo ""
72-
echo "Your PR title follows conventional commit format!"
73-
echo "The PR is ready for review and merge."
70+
echo "Status: VALID"
7471
7572
- name: Validation Result - Failure
7673
if: failure()
@@ -79,16 +76,4 @@ jobs:
7976
echo " PR TITLE VALIDATION FAILED"
8077
echo "==================================="
8178
echo "PR Title: ${{ github.event.pull_request.title }}"
82-
echo "Status: INVALID ✗"
83-
echo ""
84-
echo "Please update your PR title to follow conventional commit format:"
85-
echo " <type>[optional scope][optional !]: <description>"
86-
echo ""
87-
echo "Allowed types: fix, feat, docs, ci, chore"
88-
echo "Description must start with an uppercase letter"
89-
echo ""
90-
echo "Examples:"
91-
echo " ✓ feat: Add new feature"
92-
echo " ✓ fix: Resolve bug in validation"
93-
echo " ✓ feat!: Breaking change description"
94-
echo " ✓ feat(api): Add new endpoint"
79+
echo "Status: INVALID"

.github/workflows/terraform.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ permissions:
1717
contents: write
1818
pull-requests: write
1919
actions: read
20+
statuses: write
2021

2122
jobs:
2223
prTitlecheck:

0 commit comments

Comments
 (0)