Accessing contextual information about workflow runs - GitHub Docs
You can access context information in workflows and actions.