From 17997591900dcba9e69ca6ef84bed7722929d64b Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Fri, 13 Jun 2025 21:11:28 -0400 Subject: [PATCH] Fix crawl workflow failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update GitHub Actions to latest versions (checkout@v4, setup-go@v5, setup-gcloud@v2) - Use stable Go version from go.mod - Fix broken pipe error by consuming all gcloud output in main.go 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/crawl.yaml | 8 ++++---- main.go | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/crawl.yaml b/.github/workflows/crawl.yaml index 2c2f2cc88..e9393722c 100644 --- a/.github/workflows/crawl.yaml +++ b/.github/workflows/crawl.yaml @@ -15,12 +15,12 @@ jobs: crawl: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - go-version: 1.18.x + go-version: 'stable' - - uses: google-github-actions/setup-gcloud@v1 + - uses: google-github-actions/setup-gcloud@v2 with: install_components: alpha,beta diff --git a/main.go b/main.go index c86959de3..e7599110c 100644 --- a/main.go +++ b/main.go @@ -38,7 +38,9 @@ func main() { if strings.Contains(txt, "NOTES") || strings.Contains(txt, "AVAILABLE") || strings.Contains(txt, "BACKGROUND") { - break + ingroups = false + incommands = false + continue } if strings.Contains(txt, " ") { continue