mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-11 15:45:06 -05:00
changed files
This commit is contained in:
15
.github/workflows/link_checker_workflow.yaml
vendored
15
.github/workflows/link_checker_workflow.yaml
vendored
@@ -20,6 +20,21 @@ on:
|
||||
jobs:
|
||||
link-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get all changed files compared to main
|
||||
id: get_changed_files
|
||||
shell: bash
|
||||
run: |
|
||||
git fetch origin main --unshallow || git fetch origin main
|
||||
|
||||
CHANGED_FILES=$(git diff --name-only origin/main...HEAD)
|
||||
|
||||
# Print the list of changed files
|
||||
echo "Changed files: $CHANGED_FILES"
|
||||
|
||||
# (Optional) Set an output variable for subsequent steps (GitHub Actions example)
|
||||
echo "files=$CHANGED_FILES" >> $GITHUB_OUTPUT
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
package bigtable
|
||||
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
package clickhouse
|
||||
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
package cloudmonitoring
|
||||
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
Reference in New Issue
Block a user