From 7b441ab441e9b6c5be42ef4b25fa43285985e0e0 Mon Sep 17 00:00:00 2001 From: 5hojib Date: Thu, 11 Jul 2024 19:15:00 +0600 Subject: [PATCH] update --- .github/workflows/ruff.yml | 4 ++-- bot/__main__.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index ad4d0f3e0..db5f58949 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -36,8 +36,8 @@ jobs: if git diff-index --quiet HEAD --; then echo "No changes to commit." else - git commit -m "Auto-format code using ruff" + git commit -m "Auto-format code using ruff [skip ci]" git push origin ${{ github.ref }} fi env: - GITHUB_TOKEN: ${{ secrets.GX_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GX_TOKEN }} diff --git a/bot/__main__.py b/bot/__main__.py index b35b791e1..aa7b3d9ab 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -1,3 +1,6 @@ +from requests import get as rget +from pytz import timezone +from bs4 import BeautifulSoup from time import time from sys import executable from os import execl as osexecl