Skip to content
Latchkey

Relay bugs for cross-repo investigation workflow (ClickHouse/clickhouse-go)

The Relay bugs for cross-repo investigation workflow from ClickHouse/clickhouse-go, explained and optimized by Latchkey.

B

CI health: B - good

Run this on Latchkey for self-healing, caching, and up to 58% lower cost.

Grade your own workflow free or run it on Latchkey →
Source: ClickHouse/clickhouse-go.github/workflows/cross-repo-bug-relay.ymlLicense Apache-2.0View source

What it does

This is the Relay bugs for cross-repo investigation workflow from the ClickHouse/clickhouse-go repository, a real project running GitHub Actions. It is shown here with attribution under its Apache-2.0 license.

Below, Latchkey shows a faster, safer version produced by its optimization engine.

The workflow

workflow (.yml)
name: Relay bugs for cross-repo investigation

# Relays newly-opened issues to ClickHouse/integrations-ai-playground for cross-repo investigation.

on:
  issues:
    types: [opened]

permissions: {}

jobs:
  relay:
    uses: ClickHouse/integrations-shared-workflows/.github/workflows/cross-repo-bug-relay.yml@main
    secrets:
      WORKFLOW_AUTH_PUBLIC_APP_ID: ${{ secrets.WORKFLOW_AUTH_PUBLIC_APP_ID }}
      WORKFLOW_AUTH_PUBLIC_PRIVATE_KEY: ${{ secrets.WORKFLOW_AUTH_PUBLIC_PRIVATE_KEY }}

The same workflow, on Latchkey

Removes redundant runs and caps runaway jobs. Added and changed lines are highlighted.

name: Relay bugs for cross-repo investigation
 
# Relays newly-opened issues to ClickHouse/integrations-ai-playground for cross-repo investigation.
 
on:
  issues:
    types: [opened]
 
permissions: {}
 
jobs:
  relay:
    timeout-minutes: 30
    uses: ClickHouse/integrations-shared-workflows/.github/workflows/cross-repo-bug-relay.yml@main
    secrets:
      WORKFLOW_AUTH_PUBLIC_APP_ID: ${{ secrets.WORKFLOW_AUTH_PUBLIC_APP_ID }}
      WORKFLOW_AUTH_PUBLIC_PRIVATE_KEY: ${{ secrets.WORKFLOW_AUTH_PUBLIC_PRIVATE_KEY }}
 

What changed

1 third-party action is referenced by a movable tag. Pin it to the commit SHA (Latchkey resolves and applies this automatically) so a repointed tag cannot change what runs.

This workflow runs 1 job per trigger. On Latchkey the same minutes cost up to 58% less than GitHub-hosted, with zero queue time.