The environment variable CIRCLE_PULL_REQUEST
is now populated for all pipelines triggered from GitHub, regardless of integration type, whenever the triggering commit is associated with a pull request.
For GitHub App pipelines specifically, the pipeline variable pipeline.event.context.github.pr_url
is also populated with the same information.
Previously, the CIRCLE_PULL_REQUEST environment variable was only populated for pipelines that used CircleCI’s GitHub OAuth App integration.