From bdc6339014ae13945bbf82576f7ff71534851ab1 Mon Sep 17 00:00:00 2001 From: Daniel Bankhead Date: Wed, 11 Jan 2023 07:30:53 -0800 Subject: [PATCH] test(docs): skip linkinator check (#1511) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * test(docs): skip linkinator check * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * build: fix ignore Co-authored-by: Owl Bot --- .github/workflows/ci.yaml | 11 ++--------- owlbot.py | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 9 deletions(-) create mode 100644 owlbot.py diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f447b84a..2377ffbe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,12 +49,5 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 14 - - run: npm install - - run: npm run docs - - uses: JustinBeckwith/linkinator-action@v1 - with: - paths: docs/ + # See: https://github.com/JustinBeckwith/linkinator-action/issues/148 + - run: echo "temporarily skipping until linkinator's fixed upstream" diff --git a/owlbot.py b/owlbot.py new file mode 100644 index 00000000..2ff4b9eb --- /dev/null +++ b/owlbot.py @@ -0,0 +1,26 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +"""This script is used to synthesize generated parts of this library.""" + +import synthtool.languages.node as node +import logging + +logging.basicConfig(level=logging.DEBUG) + +# List of excludes for the enhanced library +node.owlbot_main( + templates_excludes=[ + ".github/workflows/ci.yaml", + ], +)