Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 34f588b

Browse files
build: update README for deprecation notice (#1009)
* build: update README for deprecation notice * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 0e25ba8 commit 34f588b

4 files changed

Lines changed: 56 additions & 68 deletions

File tree

.github/sync-repo-settings.yaml

Lines changed: 22 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,23 @@
1-
# Whether or not rebase-merging is enabled on this repository.
2-
# Defaults to `true`
3-
rebaseMergeAllowed: false
4-
5-
# Whether or not squash-merging is enabled on this repository.
6-
# Defaults to `true`
7-
squashMergeAllowed: true
8-
9-
# Whether or not PRs are merged with a merge commit on this repository.
10-
# Defaults to `false`
11-
mergeCommitAllowed: false
12-
13-
# Rules for main branch protection
141
branchProtectionRules:
15-
# Identifies the protection rule pattern. Name of the branch to be protected.
16-
# Defaults to `main`
17-
- pattern: main
18-
# Can admins overwrite branch protection.
19-
# Defaults to `true`
20-
isAdminEnforced: true
21-
# Number of approving reviews required to update matching branches.
22-
# Defaults to `1`
23-
requiredApprovingReviewCount: 1
24-
# Are reviews from code owners required to update matching branches.
25-
# Defaults to `false`
26-
requiresCodeOwnerReviews: true
27-
# Require up to date branches
28-
requiresStrictStatusChecks: true
29-
# List of required status check contexts that must pass for commits to be accepted to matching branches.
30-
requiredStatusCheckContexts:
31-
- "Kokoro integration test"
32-
- "ci/kokoro: Samples test"
33-
- "ci/kokoro: System test"
34-
- "cla/google"
35-
- "docs"
36-
- "lint"
37-
- "test (14)"
38-
- "test (16)"
39-
- "test (18)"
40-
- "system-test"
2+
- pattern: main
3+
isAdminEnforced: true
4+
requiredApprovingReviewCount: 1
5+
requiresCodeOwnerReviews: true
6+
requiresStrictStatusChecks: true
7+
requiredStatusCheckContexts:
8+
- "ci/kokoro: Samples test"
9+
- "ci/kokoro: System test"
10+
- lint
11+
- test (14)
12+
- test (16)
13+
- test (18)
14+
- cla/google
15+
- windows
16+
- OwlBot Post Processor
17+
permissionRules:
18+
- team: yoshi-admins
19+
permission: admin
20+
- team: jsteam-admins
21+
permission: admin
22+
- team: jsteam
23+
permission: push

.github/workflows/ci.yaml

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# This file is manually updated due to specific needs of the cloud
2-
# profiler agent, e.g., not supporting Windows.
3-
#
4-
# It should be in sync with Google's template
5-
# https://github.com/googleapis/synthtool/blob/master/synthtool/gcp/templates/node_library/.github/workflows/ci.yaml
6-
# for Node.js GCP libraries as much as possible.
7-
81
on:
92
push:
103
branches:
@@ -18,8 +11,8 @@ jobs:
1811
matrix:
1912
node: [14, 16, 18, 20]
2013
steps:
21-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
22-
- uses: actions/setup-node@v4
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-node@v3
2316
with:
2417
node-version: ${{ matrix.node }}
2518
- run: node --version
@@ -29,28 +22,39 @@ jobs:
2922
- run: npm install --production --engine-strict --ignore-scripts --no-package-lock
3023
# Clean up the production install, before installing dev/production:
3124
- run: rm -rf node_modules
32-
- run: npm install
25+
- run: npm install --engine-strict
26+
- run: npm test
27+
env:
28+
MOCHA_THROW_DEPRECATION: false
29+
windows:
30+
runs-on: windows-latest
31+
steps:
32+
- uses: actions/checkout@v3
33+
- uses: actions/setup-node@v3
34+
with:
35+
node-version: 14
36+
- run: npm install --engine-strict
3337
- run: npm test
3438
env:
3539
MOCHA_THROW_DEPRECATION: false
3640
lint:
3741
runs-on: ubuntu-latest
3842
steps:
39-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
40-
- uses: actions/setup-node@v4
43+
- uses: actions/checkout@v3
44+
- uses: actions/setup-node@v3
4145
with:
4246
node-version: 14
4347
- run: npm install
4448
- run: npm run lint
45-
# docs:
46-
# runs-on: ubuntu-latest
47-
# steps:
48-
# - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
49-
# - uses: actions/setup-node@v4
50-
# with:
51-
# node-version: 14
52-
# - run: npm install
53-
# - run: npm run docs
54-
# - uses: JustinBeckwith/linkinator-action@v1
55-
# with:
56-
# paths: docs/
49+
docs:
50+
runs-on: ubuntu-latest
51+
steps:
52+
- uses: actions/checkout@v3
53+
- uses: actions/setup-node@v3
54+
with:
55+
node-version: 14
56+
- run: npm install
57+
- run: npm run docs
58+
- uses: JustinBeckwith/linkinator-action@v1
59+
with:
60+
paths: docs/

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**_THIS REPOSITORY IS DEPRECATED. ALL OF ITS CONTENT AND HISTORY HAS BEEN MOVED TO [GOOGLE-CLOUD-NODE](https://github.com/googleapis/google-cloud-node/tree/main/handwritten/)_**
2+
13
[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
24
[//]: # "To regenerate it, use `python -m synthtool`."
35
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

owlbot.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright 2022 Google LLC
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# Licensed under the Apache License, Version 2.0 (the License);
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
@@ -11,8 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
1514
import synthtool.languages.node as node
16-
17-
node.owlbot_main(templates_excludes=[".github/sync-repo-settings.yaml",
18-
".github/workflows/ci.yaml"])
15+
node.owlbot_main(templates_excludes=[
16+
'README.md'
17+
])

0 commit comments

Comments
 (0)