Skip to content

Commit 81a984a

Browse files
barnabasbusaclaude
andauthored
Add optional correlation_id input to all build-push workflows (#354)
## Summary - Adds an optional `correlation_id` input to every `build-push-*.yml` workflow (42 files) - Sets `run-name:` on each so the correlation ID (when provided) is surfaced in the run list ## Why External integrations that dispatch these workflows — notably the [panda-pulse](https://github.com/ethpandaops/panda-pulse) Discord bot's `/build` command — currently have no reliable way to find the run they just triggered. The `workflow_dispatch` REST API doesn't return a run ID, and filtering the runs list by `actor` doesn't help because every dispatch shares the same bot account. That means the bot can't follow up with build-complete notifications. With this change an integration can pass a UUID as `correlation_id`, then list the workflow's runs and match on `run.name` / `display_title` to identify its own dispatch exactly. The input is a no-op for the build itself and defaults to empty, so manual dispatches are unaffected (run-name stays clean when the field is blank). ## Test plan - [ ] Manually dispatch one of the updated workflows from the Actions tab without a correlation ID and verify the run-name shows `<repo>@<ref>` as expected - [ ] Manually dispatch the same workflow with a correlation ID like `test-123` and verify the run-name shows `<repo>@<ref> [test-123]` - [ ] Confirm existing automations that use defaults (`scheduled.yml`, `deploy.yml`) still dispatch successfully --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4a48b56 commit 81a984a

42 files changed

Lines changed: 210 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-push-beacon-metrics-gazer.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build beacon-metrics-gazer image
2+
run-name: "${{ inputs.repository }}@${{ inputs.ref }}${{ inputs.correlation_id && format(' [{0}]', inputs.correlation_id) || '' }}"
23

34
on:
45
workflow_dispatch:
@@ -17,6 +18,10 @@ on:
1718
description: Override target docker tag (defaults to the above source ref if left blank)
1819
type: string
1920
required: false
21+
correlation_id:
22+
description: Optional correlation ID passed through to the run name (used by integrations)
23+
type: string
24+
required: false
2025

2126
jobs:
2227
prepare:

.github/workflows/build-push-besu.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build besu docker image
2+
run-name: "${{ inputs.repository }}@${{ inputs.ref }}${{ inputs.correlation_id && format(' [{0}]', inputs.correlation_id) || '' }}"
23

34
on:
45
workflow_dispatch:
@@ -17,6 +18,10 @@ on:
1718
description: Override target docker tag (defaults to the above source ref if left blank)
1819
type: string
1920
required: false
21+
correlation_id:
22+
description: Optional correlation ID passed through to the run name (used by integrations)
23+
type: string
24+
required: false
2025

2126
jobs:
2227
prepare:

.github/workflows/build-push-caplin.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build caplin docker image
2+
run-name: "${{ inputs.repository }}@${{ inputs.ref }}${{ inputs.correlation_id && format(' [{0}]', inputs.correlation_id) || '' }}"
23

34
on:
45
workflow_dispatch:
@@ -17,6 +18,10 @@ on:
1718
description: Override target docker tag (defaults to the above source ref if left blank)
1819
type: string
1920
required: false
21+
correlation_id:
22+
description: Optional correlation ID passed through to the run name (used by integrations)
23+
type: string
24+
required: false
2025

2126
jobs:
2227
prepare:

.github/workflows/build-push-consensoor.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build consensoor docker image
2+
run-name: "${{ inputs.repository }}@${{ inputs.ref }}${{ inputs.correlation_id && format(' [{0}]', inputs.correlation_id) || '' }}"
23

34
on:
45
workflow_dispatch:
@@ -17,6 +18,10 @@ on:
1718
description: Override target docker tag (defaults to the above source ref if left blank)
1819
type: string
1920
required: false
21+
correlation_id:
22+
description: Optional correlation ID passed through to the run name (used by integrations)
23+
type: string
24+
required: false
2025

2126
jobs:
2227
prepare:

.github/workflows/build-push-consensus-monitor.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build consensus-monitor docker image
2+
run-name: "${{ inputs.repository }}@${{ inputs.ref }}${{ inputs.correlation_id && format(' [{0}]', inputs.correlation_id) || '' }}"
23

34
on:
45
workflow_dispatch:
@@ -17,6 +18,10 @@ on:
1718
description: Override target docker tag (defaults to the above source ref if left blank)
1819
type: string
1920
required: false
21+
correlation_id:
22+
description: Optional correlation ID passed through to the run name (used by integrations)
23+
type: string
24+
required: false
2025

2126
jobs:
2227
prepare:

.github/workflows/build-push-dummy-el.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build dummy-el docker image
2+
run-name: "${{ inputs.repository }}@${{ inputs.ref }}${{ inputs.correlation_id && format(' [{0}]', inputs.correlation_id) || '' }}"
23

34
on:
45
workflow_dispatch:
@@ -17,6 +18,10 @@ on:
1718
description: Override target docker tag (defaults to the above source ref if left blank)
1819
type: string
1920
required: false
21+
correlation_id:
22+
description: Optional correlation ID passed through to the run name (used by integrations)
23+
type: string
24+
required: false
2025

2126
jobs:
2227
prepare:

.github/workflows/build-push-eleel.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build eleel docker image
2+
run-name: "${{ inputs.repository }}@${{ inputs.ref }}${{ inputs.correlation_id && format(' [{0}]', inputs.correlation_id) || '' }}"
23

34
on:
45
workflow_dispatch:
@@ -17,6 +18,10 @@ on:
1718
description: Override target docker tag (defaults to the above source ref if left blank)
1819
type: string
1920
required: false
21+
correlation_id:
22+
description: Optional correlation ID passed through to the run name (used by integrations)
23+
type: string
24+
required: false
2025

2126
jobs:
2227
prepare:

.github/workflows/build-push-ere-server-zisk.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build ere-server-zisk docker image
2+
run-name: "${{ inputs.repository }}@${{ inputs.ref }}${{ inputs.correlation_id && format(' [{0}]', inputs.correlation_id) || '' }}"
23

34
on:
45
workflow_dispatch:
@@ -17,6 +18,10 @@ on:
1718
description: Override target docker tag (defaults to the above source ref if left blank)
1819
type: string
1920
required: false
21+
correlation_id:
22+
description: Optional correlation ID passed through to the run name (used by integrations)
23+
type: string
24+
required: false
2025

2126
jobs:
2227
prepare:

.github/workflows/build-push-erigon.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build erigon docker image
2+
run-name: "${{ inputs.repository }}@${{ inputs.ref }}${{ inputs.correlation_id && format(' [{0}]', inputs.correlation_id) || '' }}"
23

34
on:
45
workflow_dispatch:
@@ -17,6 +18,10 @@ on:
1718
description: Override target docker tag (defaults to the above source ref if left blank)
1819
type: string
1920
required: false
21+
correlation_id:
22+
description: Optional correlation ID passed through to the run name (used by integrations)
23+
type: string
24+
required: false
2025

2126
jobs:
2227
prepare:

.github/workflows/build-push-eth-das-guardian.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build eth-das-guardian docker image
2+
run-name: "${{ inputs.repository }}@${{ inputs.ref }}${{ inputs.correlation_id && format(' [{0}]', inputs.correlation_id) || '' }}"
23

34
on:
45
workflow_dispatch:
@@ -17,6 +18,10 @@ on:
1718
description: Override target docker tag (defaults to the above source ref if left blank)
1819
type: string
1920
required: false
21+
correlation_id:
22+
description: Optional correlation ID passed through to the run name (used by integrations)
23+
type: string
24+
required: false
2025

2126
jobs:
2227
prepare:

0 commit comments

Comments
 (0)