diff --git a/.github/workflows/issues-pr-workflow.yml b/.github/workflows/issues-pr-workflow.yml new file mode 100644 index 0000000..3dd3df2 --- /dev/null +++ b/.github/workflows/issues-pr-workflow.yml @@ -0,0 +1,48 @@ +name: Issues and PR Workflow + +on: + issues: + types: [opened] + pull_request: + types: [opened] + +jobs: + issue-labeler: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v3 + + - name: Add labels to issues + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: | + - enhancement + - bug + - high-priority + + pr-checks: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install dependencies + run: | + pip install -r requirements.txt + + - name: Run tests + run: pytest + + notify-maintainers: + runs-on: ubuntu-latest + if: contains(github.event.issue.labels.*.name, 'high-priority') + steps: + - name: Notify maintainers for high-priority issues + run: | + echo "@maintainers Please review the new high-priority issue: ${{ github.event.issue.html_url }}" \ No newline at end of file diff --git a/MyAI.py b/MyAI.py index 4e84ca8..3128d86 100644 --- a/MyAI.py +++ b/MyAI.py @@ -1,7 +1,6 @@ import requests from bs4 import BeautifulSoup import pyautogui -import webbrowser as web import json import webbrowser import datetime @@ -11,7 +10,6 @@ import os import speedtest -import speech_recognition as sr def Listen(): diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..de3b963 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,30 @@ +speechrecognition +pygame +bardapi +pyperclip +pyautogui +selenium +openai +languagemodels +opencv-python-headless +pyaudio +pandas +matplotlib +cvzone +pyserial +numpy +mediapipe +googletrans==4.0.0rc1 +PyQt5 +pyttsx3 +nltk +torch +speedtest-cli +moviepy +beautifulsoup4 +pywhatkit +google-generativeai +phonenumbers +opencage +tensorflow +pytest>=7.0.0 \ No newline at end of file