What Is GITHUB_WORKFLOW?
GITHUB_WORKFLOW is the name of the workflow currently running, as set by the workflow name: field.
GITHUB_WORKFLOW identifies which workflow file is executing, useful in shared scripts called from multiple workflows.
What to know
If the workflow has no name:, this falls back to the workflow file path.
Key takeaways
- GITHUB_WORKFLOW is the workflow name.
- Falls back to the file path if unnamed.
- Helps shared scripts know their caller.