-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sell-ticket-ui-enhance
- Loading branch information
Showing
21 changed files
with
4,098 additions
and
1,499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: PR Issue Checker | ||
# Created by @siri-chandana-macha | ||
on: | ||
pull_request: | ||
types: [opened, edited] | ||
|
||
jobs: | ||
check_pr_description: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Check PR Description | ||
id: check_pr_description | ||
run: | | ||
PR_DESCRIPTION="${{ github.event.pull_request.body }}" | ||
if [[ -z "$PR_DESCRIPTION" ]]; then | ||
echo "PR description is missing." | ||
exit 1 | ||
fi | ||
# Allow any text before #<issue-number> | ||
if [[ ! "$PR_DESCRIPTION" =~ .*\ #[0-9]+ ]]; then | ||
echo "The PR description should include the issue number assigned to you.⚠️" | ||
echo "##[error]An issue reference like 'Fixed #<issue-number>' must be included in the description." | ||
exit 1 | ||
fi | ||
echo "PR description is valid." | ||
- name: Output result | ||
run: echo "All checks passed." |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.