Compare commits

..

6 Commits

Author SHA1 Message Date
rahulpinto19
f15ebbd788 add failing linksj 2026-02-11 09:23:12 +00:00
rahulpinto19
93ca490de7 check only the changed files 2026-02-11 08:20:50 +00:00
rahulpinto19
a3b920f5f4 get all the changed files 2026-02-11 08:00:31 +00:00
rahulpinto19
3495cfd0a3 improved link check 2026-02-11 07:50:15 +00:00
rahulpinto19
5a2a533053 optimized yaml 2026-02-11 06:56:40 +00:00
rahulpinto19
01dedfc893 changed files 2026-02-11 06:48:38 +00:00
6 changed files with 36 additions and 7 deletions

View File

@@ -23,8 +23,34 @@ jobs:
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: Identify Changed Files
id: changed-files
shell: bash
run: |
git fetch origin main
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT origin/main...HEAD)
if [ -z "$CHANGED_FILES" ]; then
echo "No markdown files changed. Skipping checks."
echo "HAS_CHANGES=false" >> $GITHUB_ENV
else
echo "--- Changed Files to Scan ---"
echo "$CHANGED_FILES"
echo "-----------------------------"
# Flatten newlines to spaces for the args list
FILES_FLAT=$(echo "$CHANGED_FILES" | tr '\n' ' ')
echo "CHECK_FILES=$FILES_FLAT" >> $GITHUB_ENV
echo "HAS_CHANGES=true" >> $GITHUB_ENV
fi
- name: Restore lychee cache - name: Restore lychee cache
if: env.HAS_CHANGES == 'true'
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5 uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
with: with:
path: .lycheecache path: .lycheecache
@@ -33,6 +59,7 @@ jobs:
- name: Link Checker - name: Link Checker
id: lychee-check id: lychee-check
if: env.HAS_CHANGES == 'true'
uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2 uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2
continue-on-error: true continue-on-error: true
with: with:
@@ -42,8 +69,7 @@ jobs:
--cache --cache
--max-cache-age 1d --max-cache-age 1d
--exclude '^neo4j\+.*' --exclude '^bolt://.*' --exclude '^neo4j\+.*' --exclude '^bolt://.*'
README.md ${{ env.CHECK_FILES }}
docs/
output: lychee-report.md output: lychee-report.md
format: markdown format: markdown
fail: true fail: true

View File

@@ -6,7 +6,7 @@ description: >
Connect your IDE to Looker using Toolbox. Connect your IDE to Looker using Toolbox.
--- ---
[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is [Model Context Protocol (MCP)](https://modelcotextprotocol.io/introduction) is
an open protocol for connecting Large Language Models (LLMs) to data sources an open protocol for connecting Large Language Models (LLMs) to data sources
like Postgres. This guide covers how to use [MCP Toolbox for Databases][toolbox] like Postgres. This guide covers how to use [MCP Toolbox for Databases][toolbox]
to expose your developer assistant tools to a Looker instance: to expose your developer assistant tools to a Looker instance:
@@ -20,7 +20,7 @@ to expose your developer assistant tools to a Looker instance:
* [Claude code][claudecode] * [Claude code][claudecode]
* [Antigravity][antigravity] * [Antigravity][antigravity]
[toolbox]: https://github.com/googleapis/genai-toolbox [toolbox]: https://gitub.com/googleapis/genai-toolbox
[gemini-cli]: #configure-your-mcp-client [gemini-cli]: #configure-your-mcp-client
[cursor]: #configure-your-mcp-client [cursor]: #configure-your-mcp-client
[windsurf]: #configure-your-mcp-client [windsurf]: #configure-your-mcp-client
@@ -92,7 +92,7 @@ After you install Looker in the MCP Store, resources and tools from the server a
## Install MCP Toolbox ## Install MCP Toolbox
1. Download the latest version of Toolbox as a binary. Select the [correct 1. Download the latest version of Toolbox as a binary. Select the [correct
binary](https://github.com/googleapis/genai-toolbox/releases) corresponding binary](https://gitub.com/googleapis/genai-toolbox/releases) corresponding
to your OS and CPU architecture. You are required to use Toolbox version to your OS and CPU architecture. You are required to use Toolbox version
v0.10.0+: v0.10.0+:

View File

@@ -79,7 +79,7 @@ curl -O https://storage.googleapis.com/genai-toolbox/v0.26.0/windows/amd64/toolb
{{% tab header="Claude code" lang="en" %}} {{% tab header="Claude code" lang="en" %}}
1. Install [Claude 1. Install [Claude
Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview). Code](https://docs.anthropic.com/en/docs/gents-and-tools/claude-code/overview).
1. Create a `.mcp.json` file in your project root if it doesn't exist. 1. Create a `.mcp.json` file in your project root if it doesn't exist.
1. Add the following configuration, replace the environment variables with your 1. Add the following configuration, replace the environment variables with your
values, and save: values, and save:
@@ -133,7 +133,7 @@ curl -O https://storage.googleapis.com/genai-toolbox/v0.26.0/windows/amd64/toolb
{{% /tab %}} {{% /tab %}}
{{% tab header="Cline" lang="en" %}} {{% tab header="Cline" lang="en" %}}
1. Open the [Cline](https://github.com/cline/cline) extension in VS Code and 1. Open the [Cline](https://gihub.com/cline/cline) extension in VS Code and
tap the **MCP Servers** icon. tap the **MCP Servers** icon.
1. Tap Configure MCP Servers to open the configuration file. 1. Tap Configure MCP Servers to open the configuration file.
1. Add the following configuration, replace the environment variables with your 1. Add the following configuration, replace the environment variables with your

View File

@@ -14,6 +14,7 @@
package bigtable package bigtable
import ( import (
"bytes" "bytes"
"context" "context"

View File

@@ -14,6 +14,7 @@
package clickhouse package clickhouse
import ( import (
"bytes" "bytes"
"context" "context"

View File

@@ -14,6 +14,7 @@
package cloudmonitoring package cloudmonitoring
import ( import (
"context" "context"
"fmt" "fmt"