diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..6a7695c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 0000000..c8cebfe --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,14 @@ +name: CI +on: [push,pull_request] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + - run: | + if [ -f requirements.txt ]; then pip install -r requirements.txt || true; fi + if [ -d "${REPO_NAME}-tests" ]; then pip install pytest || true; pytest -q || true; fi diff --git a/.github/workflows/stats.yml b/.github/workflows/stats.yml new file mode 100644 index 0000000..03ed742 --- /dev/null +++ b/.github/workflows/stats.yml @@ -0,0 +1,17 @@ +name: Update Stats +on: + schedule: + - cron: '0 6 * * *' +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Update STATS.md + run: | + gh api repos/${GITHUB_REPOSITORY} --jq '{stars:.stargazers_count,forks:.forks_count,issues:.open_issues_count}' > stats.json || true + echo "# Stats" > STATS.md + if [ -f stats.json ]; then cat stats.json >> STATS.md; fi + git add STATS.md || true + git commit -m "ci: update STATS.md [skip ci]" || true + git push || true diff --git a/BRANCH_NOTICE.txt b/BRANCH_NOTICE.txt new file mode 100644 index 0000000..63cc40c --- /dev/null +++ b/BRANCH_NOTICE.txt @@ -0,0 +1 @@ +Branch created by DarkGithub on Fri Oct 17 19:14:06 WITA 2025