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

Function isCoreAction

pkg/cli/update_actions.go:27–29  ·  view source on GitHub ↗

isCoreAction returns true if the repo is a GitHub-maintained core action (actions/* org). Core actions are always updated to the latest major version without requiring --major.

(repo string)

Source from the content-addressed store, hash-verified

25// isCoreAction returns true if the repo is a GitHub-maintained core action (actions/* org).
26// Core actions are always updated to the latest major version without requiring --major.
27func isCoreAction(repo string) bool {
28 return strings.HasPrefix(repo, "actions/")
29}
30
31// isGhAwNativeAction returns true if the action repo is part of the gh-aw native ecosystem
32// (i.e., maintained in the github/gh-aw or github/gh-aw-actions repository). These actions

Callers 3

TestIsCoreActionFunction · 0.85
updateActionsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsCoreActionFunction · 0.68