travis-build icon indicating copy to clipboard operation
travis-build copied to clipboard

Add TRAVIS_PULL_REQUEST_TITLE to env vars

Open 3nids opened this issue 6 years ago • 5 comments

see https://github.com/travis-ci/travis-scheduler/pull/131

3nids avatar Mar 03 '18 01:03 3nids

The spec needs a fix.

BanzaiMan avatar Nov 13 '18 21:11 BanzaiMan

Tested:

  • Branch build: https://staging.travis-ci.org/BanzaiMan/travis_staging_test/builds/732162#L473 (empty)
  • PR build: https://staging.travis-ci.org/BanzaiMan/travis_staging_test/builds/732164#L482 (set correctly)

BanzaiMan avatar Nov 15 '18 22:11 BanzaiMan

Note: PR title is configured when the build is originally initiated. In practical terms, it means that if the title is updated, this environment variable does not reflect the change unless a new commit is pushed to the PR branch, or the PR is closed and re-opened.

BanzaiMan avatar Nov 16 '18 01:11 BanzaiMan

are we planning to merge it any time soon?

poorvasingh04 avatar Mar 26 '20 11:03 poorvasingh04

Any chance you add the body with it as well while you are at it? See https://github.com/travis-ci/travis-ci/issues/9302 Thanks!

fjahr avatar Apr 04 '20 14:04 fjahr