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)
| 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. |
| 27 | func 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 |
no outgoing calls