The following codebase is used by the Google Github Actions team to maintain all the repos.
Set the GITHUB_TOKEN
environment variable to a PAT token with repo:read scope.
export GITHUB_TOKEN=<your pat token>
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
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