Skip to content

Scripts used by the Google GitHub Actions team to maintain repos.

License

Notifications You must be signed in to change notification settings

verbanicm/google-github-actions-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Github Actions Scripts

The following codebase is used by the Google Github Actions team to maintain all the repos.

Authentication

Set the GITHUB_TOKEN environment variable to a PAT token with repo:read scope.

export GITHUB_TOKEN=<your pat token>

Commands

deps

Use this command to update all dependencies to the latest version and create a pull request for a set of repos.

./main.mjs deps --repos="auth,deploy-cloud-run"

or

./main.mjs deps --repo-file="./config/all-repos.yaml"

To see all options run:

./main.mjs deps --help

release

Use this command to trigger the draft release process for a set of repos.

./main.mjs release --repos="auth,deploy-cloud-run" --strategy="patch"

or

./main.mjs release --repo-file="./config/release-repos.yaml" --strategy="patch"

To see all options run:

./main.mjs release --help

About

Scripts used by the Google GitHub Actions team to maintain repos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published