Repository navigation
Conversation
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 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements task f3ad5a0b-e773-4be4-85ef-0af3a857abb1
What changed
.github/workflows/ci.yml(new): a reusable CI workflow that runs the existing Python tests (python3 test_sortinfolder.py) on push and pull_request tomain. It uses a minimal Ubuntu runner (ubuntu-latest) with Python set up viaactions/setup-python, installs the runtime dependencies the test needs (Pillow,exifread,piexif—sortinfolder.pyimports them at module load), and sets workflow-levelpermissions: read-all..github/dependabot.yml(new): explicitly disables Dependabot version updates. Theupdateslist is intentionally empty (updates: []), which the Dependabot config schema accepts and dependabot-core parses without error, so no package ecosystems are monitored and no scan/manifest errors are reported (the repo has no manifest files, so apip-ecosystem entry would otherwise fail with "no manifest found").No existing files were touched.
How to test
Locally:
python3 test_sortinfolder.py # exits 0I also invoked the test function directly and confirmed
sortinfolder.py --helpprints theusage: sortimages,options:, andExamples:strings it asserts on. The workflow file was linted withactionlint(no findings) and both YAML files parse cleanly.In CI: after merge to
main(or via this PR'spull_requestrun), thetestjob checks out the repo, sets up Python 3, installsPillow exifread piexif, and runspython3 test_sortinfolder.py.Note:
test_sortinfolder.pyis pytest-style — running it as a module (per the task spec) executes the file (exit 0) without invoking the test function; runningpytest/the function directly also passes. I kept the exact command the task specified.🤖 Generated with Claude Code