Skip to content

AlainGama/repository-gardener

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository Gardener

Actions Status

The repository gardener maintains code samples by running some automatable tasks. For example, it can automatically update dependencies and then after running tests to ensure they still work, send a Pull Request for the update.

Example

The following commands will clone the dotnet-docs-samples repository and update its dependencies to the latest versions.

source set-env.sh \
  && git clone https://github.com/GoogleCloudPlatform/dotnet-repo-tools.git
  && ./clone-and-checkout.sh -b dpebot-updatedeps GoogleCloudPlatform/dotnet-docs-samples \
  && ( \
    cd repo-to-update \
    && ../use-latest-deps-dotnet.sh -d GoogleCloudPlatform/dotnet-docs-samples
 )

The -d option in use-latest-deps-dotnet.sh is to do a dry run (don't commit or push). Remove -d to actually push and send PR.

Contributing changes

Licensing

Disclaimer

This is not an official Google product or sample.

Adding the bot to your repository (Googlers only)

A hosted version of the bot is available for Googlers.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 60.0%
  • Python 37.6%
  • PowerShell 2.2%
  • Batchfile 0.2%