Skip to content

Commit

Permalink
Merge branch 'ksauraj:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
JiyaGupta-cs authored Jan 31, 2024
2 parents d96e49b + 1bf28cc commit 9e02812
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Greetings

on: [pull_request, issues, push]
on: [pull_request, issues, workflow_dispatch]

jobs:
greeting:
Expand All @@ -11,6 +11,6 @@ jobs:
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Hey, @${{ github.actor }} welcome to JEE Counsellor repository.🎊 Thank you so much for taking the time to point this out.🙌'
pr-message: 'Hey, @${{ github.actor }} welcome to JEE Counsellor repository.🎊 Thank you so much for taking the effort to make our project better! 🙌 Keep making such awesome contributions!'
6 changes: 5 additions & 1 deletion tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,17 @@ def pre_setup():
print(Fore.GREEN + "1." + Fore.BLUE + "JOSAA")
print(Fore.GREEN + "2." + Fore.BLUE + "CSAB" + Fore.RESET)
print(Fore.GREEN + "3." + Fore.BLUE + "About" + Fore.RESET)
option = input("Select Option (1 to 3) : ")
print(Fore.GREEN + "4." + Fore.BLUE + "Exit" + Fore.RESET) #adding exit function in main menu
option = input("Select Option (1 to 4) : ") #increasing last choice value
if option == '1':
josaa_rounds_year()
elif option == '2':
csab_rounds_year()
elif option == '3':
show_about_section()
elif option == '4': #adding exit condition
print("Exiting...") #printing exiting
exit(0) #calling exit function
else:
pre_setup()

Expand Down

0 comments on commit 9e02812

Please sign in to comment.