@google-github-actions/actions-utils
@google-github-actions/actions-utils / warnings / isPinnedToHead
isPinnedToHead():
boolean
Defined in: warnings.ts:23
isPinnedToHead is a boolean which returns true if the given GitHub action is pinned to HEAD ("master" or "main"), false otherwise.
boolean
boolean indicating whether the action is pinned to HEAD.