datamix-datascience/Sync To Google Drive and Generate Visual Diffs

Syncs files between a GitHub repo and Google Drive folders, optionally generating visual diffs for PRs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jul 4, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: datamix-datascience/sync-to-drive@969e8b19c805e61e60e3af747588ccfc11a713a6 # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenGitHub Token for API requests (e.g., creating PRs, listing files)yes
credentialsBase64 encoded Google Service Account JSON credentialsyes
trigger_event_nameName of the event that triggered the workflow (e.g., push, schedule, workflow_dispatch)yes
enable_visual_diffsSet to "true" to enable visual diff PNG generation after PR creation/update.nofalse
visual_diff_output_dirDirectory (relative to repo root) where generated PNGs will be stored.no_diff_
visual_diff_link_suffixThe file extension suffix used for Google Drive link files (must match generation).no.gdrive.json
visual_diff_dpiResolution (DPI) for the generated PNG images.no72
git_user_nameGit user name for commits made by the action (e.g., visual diff PNGs).nogithub-actions[bot]
git_user_emailGit user email for commits made by the action.nogithub-actions[bot]@users.noreply.github.com
enable_slide_compareSet to "true" to enable Gemini-powered slide comparison comments on PRs.nofalse
gemini_api_keyGoogle API Key for Gemini usage when comparing slidesno

no outputs