why isn’t there a environment variable that tells whether the current build is a build belonging to a GitHub Draft Pull Request?
I would expect a complementary variable TRAVIS_PULL_REQUEST_DRAFT that is “true” if the GitHub PR is in draft mode.
IMO This is necessary to skip certain build/test stages while in draft mode. E.g., skipping e2e tests to avoid them being run on every WIP commit.
Thanks & best regards