<p>Pull request chaining feature expands the <a href="https://docs.screwdriver.cd/user-guide/configuration/workflow">workflow</a> capabilties available when running pull request builds. By default during a pull request Screwdriver will run only those jobs which has <code>~pr</code> in <code>requires</code> field. But with pull request chain feature turned on, there is no such restriction.</p>
<p><!-- more --></p>
<pre><code>shared:
image: node:8
annotations:
screwdriver.cd/chainPR: true
jobs:
first-job:
requires: [ ~pr, ~commit ]
steps:
- echo: echo "this is first job."
second-job:
requires: [ first-job ]
steps:
- echo: echo "this is second job."
</code></pre>
<p>With <code>annotation chainPR</code> set to <code>true</code> above pipeline workflow config will run <code>second-job</code> after <code>first-job</code> on a Pull Request
</p>
<h2>Compatibility List</h2>
<p>In order to use this feature, you will need these minimum versions:</p>
<ul><li><a href="https://hub.docker.com/r/screwdrivercd/screwdriver">API</a> - v0.5.641</li>
<li><a href="https://hub.docker.com/r/screwdrivercd/ui">UI</a> - v1.0.396</li>
</ul><h2>Contributors</h2>
<p>Thank you to the following contributors for making this feature possible:</p>
<ul><li><a href="https://github.com/tk3fftk">Hiroki tktk, Software Engineer, Yahoo Japan</a></li>
<li><a href="https://github.com/wdstar">Yomei K, Software Engineer, Yahoo Japan</a></li>
<li><a href="https://github.com/sakka2">Teppei Minegishi, Software Engineer, Yahoo Japan</a></li>
<li><a href="https://github.com/yuichi10">Yuichi Sawada, Software Engineer, Yahoo Japan</a></li>
<li><a href="https://github.com/s-yoshika">Yoshika Shota, Software Engineer, Yahoo Japan</a></li>
</ul><h2>Questions & Suggestions</h2>
<p>We’d love to hear from you. If you have any questions, please feel free to reach out <a href="https://docs.screwdriver.cd/about/support">here</a>. You can also visit us on <a href="https://github.com/screwdriver-cd">Github</a> and <a href="https://slack.screwdriver.cd">Slack</a>.</p>