diff --git a/samples/README.md b/samples/README.md index 1d289bb..09787a4 100644 --- a/samples/README.md +++ b/samples/README.md @@ -16,6 +16,7 @@ * [Change-circleci-config-in-branch](#change-circleci-config-in-branch) * [Chmod-repo-tools](#chmod-repo-tools) * [Commit-package-lock](#commit-package-lock) + * [Create-secret](#create-secret) * [Remove-node7](#remove-node7) * [Setup-nighty-builds](#setup-nighty-builds) * [Update-branch-protection](#update-branch-protection) @@ -104,6 +105,23 @@ __Usage:__ +### Create-secret + +View the [source code](https://github.com/googleapis/github-repo-automation/blob/master/samples/create-secret.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/github-repo-automation&page=editor&open_in_editor=samples/create-secret.js,samples/README.md) + +__Usage:__ + + +`node samples/create-secret.js` + + +----- + + + + ### Remove-node7 View the [source code](https://github.com/googleapis/github-repo-automation/blob/master/samples/remove-node7.js). diff --git a/synth.metadata b/synth.metadata index 503ca99..ac67f3e 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,341 +1,12 @@ { - "updateTime": "2020-01-24T12:08:19.402568Z", + "updateTime": "2020-03-10T11:09:12.584348Z", "sources": [ { "template": { "name": "node_library", "origin": "synthtool.gcp", - "version": "2019.10.17" + "version": "2020.2.4" } } - ], - "newFiles": [ - { - "path": ".compodocrc" - }, - { - "path": ".eslintignore" - }, - { - "path": ".eslintrc.yml" - }, - { - "path": ".github/CONTRIBUTING.md" - }, - { - "path": ".github/ISSUE_TEMPLATE/bug_report.md" - }, - { - "path": ".github/ISSUE_TEMPLATE/feature_request.md" - }, - { - "path": ".github/ISSUE_TEMPLATE/support_request.md" - }, - { - "path": ".github/PULL_REQUEST_TEMPLATE.md" - }, - { - "path": ".github/release-please.yml" - }, - { - "path": ".gitignore" - }, - { - "path": ".jsdoc.js" - }, - { - "path": ".kokoro/.gitattributes" - }, - { - "path": ".kokoro/common.cfg" - }, - { - "path": ".kokoro/continuous/node10/common.cfg" - }, - { - "path": ".kokoro/continuous/node10/docs.cfg" - }, - { - "path": ".kokoro/continuous/node10/lint.cfg" - }, - { - "path": ".kokoro/continuous/node10/samples-test.cfg" - }, - { - "path": ".kokoro/continuous/node10/system-test.cfg" - }, - { - "path": ".kokoro/continuous/node10/test.cfg" - }, - { - "path": ".kokoro/continuous/node12/common.cfg" - }, - { - "path": ".kokoro/continuous/node12/test.cfg" - }, - { - "path": ".kokoro/continuous/node8/common.cfg" - }, - { - "path": ".kokoro/continuous/node8/test.cfg" - }, - { - "path": ".kokoro/docs.sh" - }, - { - "path": ".kokoro/lint.sh" - }, - { - "path": ".kokoro/presubmit/node10/common.cfg" - }, - { - "path": ".kokoro/presubmit/node10/docs.cfg" - }, - { - "path": ".kokoro/presubmit/node10/lint.cfg" - }, - { - "path": ".kokoro/presubmit/node10/samples-test.cfg" - }, - { - "path": ".kokoro/presubmit/node10/system-test.cfg" - }, - { - "path": ".kokoro/presubmit/node10/test.cfg" - }, - { - "path": ".kokoro/presubmit/node12/common.cfg" - }, - { - "path": ".kokoro/presubmit/node12/test.cfg" - }, - { - "path": ".kokoro/presubmit/node8/common.cfg" - }, - { - "path": ".kokoro/presubmit/node8/test.cfg" - }, - { - "path": ".kokoro/presubmit/windows/common.cfg" - }, - { - "path": ".kokoro/presubmit/windows/test.cfg" - }, - { - "path": ".kokoro/publish.sh" - }, - { - "path": ".kokoro/release/docs.cfg" - }, - { - "path": ".kokoro/release/docs.sh" - }, - { - "path": ".kokoro/release/publish.cfg" - }, - { - "path": ".kokoro/samples-test.sh" - }, - { - "path": ".kokoro/system-test.sh" - }, - { - "path": ".kokoro/test.bat" - }, - { - "path": ".kokoro/test.sh" - }, - { - "path": ".kokoro/trampoline.sh" - }, - { - "path": ".nycrc" - }, - { - "path": ".prettierignore" - }, - { - "path": ".prettierrc" - }, - { - "path": ".repo-metadata.json" - }, - { - "path": "CHANGELOG.md" - }, - { - "path": "CODE_OF_CONDUCT.md" - }, - { - "path": "CONTRIBUTING.md" - }, - { - "path": "LICENSE" - }, - { - "path": "README.md" - }, - { - "path": "codecov.yaml" - }, - { - "path": "config.yaml.default" - }, - { - "path": "linkinator.config.json" - }, - { - "path": "package.json" - }, - { - "path": "renovate.json" - }, - { - "path": "samples/.eslintrc.yml" - }, - { - "path": "samples/README.md" - }, - { - "path": "samples/add-collaborator.js" - }, - { - "path": "samples/change-circleci-config-in-branch.js" - }, - { - "path": "samples/chmod-repo-tools.js" - }, - { - "path": "samples/commit-package-lock.js" - }, - { - "path": "samples/fix-samples-dependency.sh" - }, - { - "path": "samples/lock-files-maintenance.sh" - }, - { - "path": "samples/misc/README.md" - }, - { - "path": "samples/misc/add-node10.js" - }, - { - "path": "samples/misc/system-test-timeout.js" - }, - { - "path": "samples/package.json" - }, - { - "path": "samples/remove-node7.js" - }, - { - "path": "samples/setup-nighty-builds.js" - }, - { - "path": "samples/system-test/test.js" - }, - { - "path": "samples/update-branch-protection.js" - }, - { - "path": "samples/update-kokoro-branch-protection.js" - }, - { - "path": "src/apply-change.ts" - }, - { - "path": "src/approve-prs.ts" - }, - { - "path": "src/cli.ts" - }, - { - "path": "src/lib/asyncPrIterator.ts" - }, - { - "path": "src/lib/config.ts" - }, - { - "path": "src/lib/github.ts" - }, - { - "path": "src/lib/logger.ts" - }, - { - "path": "src/lib/question.ts" - }, - { - "path": "src/lib/update-file-in-branch.ts" - }, - { - "path": "src/lib/update-file.ts" - }, - { - "path": "src/lib/update-repo.ts" - }, - { - "path": "src/list-prs.ts" - }, - { - "path": "src/merge-prs.ts" - }, - { - "path": "src/reject-prs.ts" - }, - { - "path": "src/rename-prs.ts" - }, - { - "path": "src/repo-check.ts" - }, - { - "path": "src/sync.ts" - }, - { - "path": "src/tag-prs.ts" - }, - { - "path": "src/update-prs.ts" - }, - { - "path": "synth.py" - }, - { - "path": "system-test/system.ts" - }, - { - "path": "test/config.ts" - }, - { - "path": "test/fakes/fake-github.ts" - }, - { - "path": "test/fakes/fake-tmp.ts" - }, - { - "path": "test/github.ts" - }, - { - "path": "test/mocha.opts" - }, - { - "path": "test/update-file-in-branch.ts" - }, - { - "path": "test/update-file.ts" - }, - { - "path": "test/update-repo.ts" - }, - { - "path": "test/util.ts" - }, - { - "path": "tsconfig.json" - }, - { - "path": "tslint.json" - } ] } \ No newline at end of file