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

Function isReservedOnNeedsTarget

pkg/workflow/on_needs_validation.go:248–265  ·  view source on GitHub ↗
(jobName string)

Source from the content-addressed store, hash-verified

246}
247
248func isReservedOnNeedsTarget(jobName string) bool {
249 switch jobName {
250 case string(constants.AgentJobName),
251 string(constants.ActivationJobName),
252 string(constants.PreActivationJobName),
253 "pre-activation",
254 string(constants.ConclusionJobName),
255 string(constants.SafeOutputsJobName),
256 "safe-outputs",
257 string(constants.DetectionJobName),
258 string(constants.UnlockJobName),
259 "push_repo_memory",
260 "update_cache_memory":
261 return true
262 default:
263 return false
264 }
265}

Calls

no outgoing calls

Tested by

no test coverage detected