From 692f2f8880ba847d7970bddaf43a073c3e54dc66 Mon Sep 17 00:00:00 2001 From: Optio Agent Date: Thu, 29 Oct 2026 13:09:10 +0000 Subject: [PATCH] ci: add reusable python test workflow and disable dependabot Add .github/workflows/ci.yml running the existing python tests (python3 test_sortinfolder.py) on push and pull_request to main on a minimal ubuntu runner, with read-all permissions. Add a dependabot config with an empty updates list to keep Dependabot version updates disabled. Co-Authored-By: Claude Code --- .github/dependabot.yml | 4 ++++ .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..becd4d6 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,4 @@ +# Dependabot version updates are disabled for this repository. +# Keep the updates list empty so no package ecosystems are monitored. +version: 2 +updates: [] \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..96c195c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: read-all + +jobs: + test: + name: python tests + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.x" + + - name: Install dependencies + run: pip install Pillow exifread piexif + + - name: Run tests + run: python3 test_sortinfolder.py \ No newline at end of file