MCPcopy Create free account
hub / github.com/github/gh-aw / buildAutoUpdateSeed

Function buildAutoUpdateSeed

pkg/workflow/auto_update_workflow.go:128–133  ·  view source on GitHub ↗

buildAutoUpdateSeed returns the deterministic seed string used to scatter the FUZZY:WEEKLY cron schedule. It combines the repo slug with the fixed workflow identifier so that repositories scatter to distinct time slots.

(repoSlug string)

Source from the content-addressed store, hash-verified

126// FUZZY:WEEKLY cron schedule. It combines the repo slug with the fixed workflow
127// identifier so that repositories scatter to distinct time slots.
128func buildAutoUpdateSeed(repoSlug string) string {
129 if repoSlug != "" {
130 return repoSlug + "/" + autoUpdateWorkflowIdentifier
131 }
132 return autoUpdateWorkflowIdentifier
133}
134
135// buildAutoUpdateWorkflowYAML generates the YAML content for agentic-auto-upgrade.yml.
136func buildAutoUpdateWorkflowYAML(

Callers 2

TestBuildAutoUpdateSeedFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestBuildAutoUpdateSeedFunction · 0.68