Skip to content

Commit

Permalink
chore: removed bots and useless files, updated funding info, updated …
Browse files Browse the repository at this point in the history
…workflows, prefilled the .env, simplified the gitignore
  • Loading branch information
EDM115 committed May 7, 2024
1 parent f4e0fe4 commit 871666c
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 583 deletions.
7 changes: 6 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@

APP_ID=
API_HASH=""
BOT_OWNER=
BOT_TOKEN=""
MONGODB_URL=""
LOGS_CHANNEL=
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
custom: ["https://paypal.me/8EDM115", "https://www.buymeacoffee.com/edm115", "https://t.me/EDM115bots/698", "https://walad.link/edm115"]
github: EDM115
custom: ["https://paypal.me/8EDM115", "https://www.buymeacoffee.com/edm115", "https://t.me/EDM115bots/544", "https://edm115.shadd.eu.org/"]
16 changes: 8 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "sunday"
time: "20:00"
timezone: "Europe/Paris"
assignees:
- "EDM115"
commit-message:
prefix: "[dependabot/pip] "
include: scope
prefix: "[dependabot/pip] "
directory: "/"
labels:
- "dependabot/pip"
pull-request-branch-name:
separator: "/"
reviewers:
- "EDM115"
schedule:
day: "sunday"
interval: "weekly"
time: "20:00"
timezone: "Europe/Paris"
version: 2
4 changes: 0 additions & 4 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Build Docker Image

on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
workflow_dispatch:

jobs:
Expand Down
44 changes: 5 additions & 39 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
# push:
# branches: [ master ]
# pull_request:
# # The branches below must be a subset of the branches above
# branches: [ master ]
# schedule:
# - cron: '0 4 * * 6'
schedule:
- cron: "0 4 * * 6"
workflow_dispatch:

jobs:
Expand All @@ -39,31 +23,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release
queries: "security-and-quality"

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
73 changes: 1 addition & 72 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,87 +3,16 @@ __pycache__/
*.py[cod]
*$py.class

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# VS Code
.vscode
.vscode/
.vscode/*

# Secrets
*.session
*.session
19 changes: 0 additions & 19 deletions .restyled.yml

This file was deleted.

31 changes: 0 additions & 31 deletions requirements.lock

This file was deleted.

Loading

0 comments on commit 871666c

Please sign in to comment.