File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -14,20 +14,17 @@ jobs:
1414 name : Pull Request validation.
1515 runs-on : ubuntu-latest
1616 steps :
17- - name : Validate label.
17+ - name : Pull Request should have a label assigned .
1818 if : ${{ always() && github.event.pull_request.labels[0] == null }}
1919 run : |
20- echo "Pull Request should have label assigned."
2120 exit 1
2221
23- - name : Title should contain Jira ticket.
24- if : ${{ always() && !(contains (github.event.pull_request.title, 'CSHARP-')) }}
22+ - name : Title should mention Jira ticket.
23+ if : ${{ always() && !(startsWith (github.event.pull_request.title, 'CSHARP-')) }}
2524 run : |
26- echo "Title should contain Jira ticket."
2725 exit 1
2826
2927 - name : Title should not end with period or elipses
30- if : ${{ always() && (endsWith(github.event.pull_request.title, '.') || endsWith(github.event.pull_request.title, '… ')) }}
28+ if : ${{ always() && (endsWith(github.event.pull_request.title, '.') || endsWith(github.event.pull_request.title, '� ')) }}
3129 run : |
32- echo "Title should not end with a period or ellipses."
3330 exit 1
You can’t perform that action at this time.
0 commit comments