Repository navigation
Conversation
Adds .github/workflows/ci.yml running python3 test_sortinfolder.py on push and pull_request to main using a minimal ubuntu-latest runner with actions/setup-python. Workflow permissions are set to read-all, and runs triggered by Dependabot are skipped since they receive read-only permissions and no secrets. 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 c2196651-d96e-4875-9ebe-ab073239b9dc
What changed
Adds
.github/workflows/ci.yml, a reusable CI workflow that runs the repository's existing python test suite:main.ubuntu-latestrunner with Python set up viaactions/setup-python(Python 3.x).Pillow,exifread,piexif) — required becausesortinfolder.pyimports these at module load and the test invocation exercises it via--help.python3 test_sortinfolder.py.permissions: read-all.if: github.actor != 'dependabot[bot]'guard, since Dependabot PRs execute with read-only permissions and no secrets."on"is quoted so the trigger key parses unambiguously under both YAML 1.1 (e.g. PyYAML, which would otherwise read it as a boolean) and GitHub's parser.No other files were touched — the only change is the new workflow.
How to test
1 passed).main(this one) — theCIworkflow runs the test job.ubuntu-latestrunner, Python setup step, dependencies installed,python3 test_sortinfolder.pyexecuted, and that Dependabot PRs would be skipped by thegithub.actorguard.🤖 Generated with Claude Code