actions-marketplace-validations/g-drive-upload

Upload files to Google Drive

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Oct 9, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/logickoder_google-drive-upload@c3e63f08383a2d40ff9d0986a6c7b9b6b7041fa5 # no releases — HEAD as of 2026-07-12

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

namedescriptionrequireddefault
credentialsthe service account credentials (deprecated - use OAuth instead)no
clientIdOAuth client ID for Google Drive APIno
clientSecretOAuth client secret for Google Drive APIno
refreshTokenOAuth refresh token for Google Drive APIno
authTypeAuthentication type: "oauth" or "service" (defaults to "service" for backward compatibility)noservice
filenamethe name of the file you want to upload. Wildcards can be used to upload more than one fileyes
folderIdthe Id of the parent folder you want to upload the file inyes
namewhat you want the file to be called in Google Drive. Ignored if there are more than one file to be uploadedno
overwriteif you want to overwrite an existing file in Google Drive no
mimeTypefile MimeType. If absent, Google Drive will attempt to automatically detect an appropriate valueno
useCompleteSourceFilenameAsNameIf true, the target file name will be the source filename and name parameter will be ignoredno
mirrorDirectoryStructureIf true, recreate the directory structure of the source file relative to the folderIdno
namePrefixPrefix to be added to target filenameno

no outputs