Is GitHub Actions workflow or action definition

MSAL

Checks if the file is either a GitHub Actions workflow file, or a GitHub Action definition (action.yml). Steps, and the uses: references within them, appear in both, so prefer this over IsGitHubActionsWorkflow as a precondition for any recipe that operates on steps. Recipes that read workflow-only keys such as on:, permissions:, runs-on: or needs: should keep the narrower IsGitHubActionsWorkflow.

org.openrewrite.github.IsGitHubActionsFile
mod run . --recipe=org.openrewrite.github.IsGitHubActionsFile

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.