Skip to content

Commit

Permalink
test(docs): skip linkinator check (#1511)
Browse files Browse the repository at this point in the history
* 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 <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
danielbankhead and gcf-owl-bot[bot] authored Jan 11, 2023
1 parent c0b8c12 commit bdc6339
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
26 changes: 26 additions & 0 deletions owlbot.py
Original file line number Diff line number Diff line change
@@ -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",
],
)

0 comments on commit bdc6339

Please sign in to comment.