> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/harness-solutions-factory/new-to-hsf/hsf-upgrade/pr-process-upgrade-hsf-upgrade.md).

# Pull Request Process Upgrade

{% @harness-package-selector/package-selector platforms="%5B%7B%22label%22%3A%22PR%20Process%20Upgrade%22%2C%22slug%22%3A%22pr-process-upgrade%22%2C%22path%22%3A%22harness-solutions-factory%2Fnew-to-hsf%2Fhsf-upgrade%2Fpr-process-upgrade-hsf-upgrade%22%7D%2C%7B%22label%22%3A%22Manual%20Upgrade%20for%20Versions%20Older%20than%202.2.5%22%2C%22slug%22%3A%22manual-upgrade-for-versions-older-than-225%22%2C%22path%22%3A%22harness-solutions-factory%2Fnew-to-hsf%2Fhsf-upgrade%2Fmanual-upgrade-for-versions-older-than-225-hsf-upgrade%22%7D%5D" selectedPlatform="pr-process-upgrade" %}

### How to upgrade using the Pull Request Process <a href="#how-to-upgrade-using-the-pull-request-process" id="how-to-upgrade-using-the-pull-request-process"></a>

Starting from HSF 2.2.5 you will get a pull request notification email when a new update is released.

#### To Update: <a href="#to-update" id="to-update"></a>

**Review Code Changes**

1. Go into Harness Code Repository → Pull Requests → All

   <figure><img src="/files/3LoKSfbzz7CWS5enIYIF" alt=""><figcaption><p>Click to view full size image</p></figcaption></figure>

   \- Review each of the open Pull Requests for the \`harness-solutions-factory\` and \`harness-template-library\`x repositories. We will be merging all of them in to update the version of HSF.
2. Go into `harness-solutions-factory` → Changes → Click Approve at the top right. You can see everything that has changed in this version.

   <figure><img src="/files/UjMV4WR1QbBbBfoXawzS" alt=""><figcaption><p>Click to view full size image</p></figcaption></figure>

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>To be able to Approve you need to be a member of the HSF Mirror Reviewers. To be part of this user group, the person needs to be part of the organization. Make sure the send email notification option is checked.</p></div>

   <figure><img src="/files/UtJAaeciAYl3VeTvLWkZ" alt=""><figcaption><p>Click to view full size image</p></figcaption></figure>
3. Go back to Conversation → Click Confirm Fast-Forward Merge

   <figure><img src="/files/EvkSrS7XkuaA2PvqTTaP" alt=""><figcaption><p>Click to view full size image</p></figcaption></figure>
4. Do the same thing for `harness-template-library`

   <figure><img src="/files/10uRb2qB6H20JVKqg8R1" alt=""><figcaption><p>Click to view full size image</p></figcaption></figure>

   \- Review modification in Changes, click Approve, and click Confirm Merge

   <figure><img src="/files/2JfJUTuvZOBA3DLS05Xh" alt=""><figcaption><p>Click to view full size image</p></figcaption></figure>

   \- Before continuing, verify no additional Pull Requests are opened. At this point we have updated the source code and now we need to upgrade the installation.

**Update Core Framework Configurations**

5. Go into Pipelines in the Solutions Factory Project
6. Run `Manage Pilot Light` → Approve Changes (Review) → Approve Now

   <figure><img src="/files/HCvIUedvY7bY2lXWzRPs" alt=""><figcaption><p>Click to view full size image</p></figcaption></figure>
7. Go into IaCM Workspaces → `Harness Solutions Factory`
   * Go into Connectors and Variables and add the variables:

     | Variable Key              | Value |
     | ------------------------- | ----- |
     | should\_use\_hsf\_hub     | false |
     | should\_use\_harness\_idp | true  |
   * Save Changes
8. Wait for `Manage Pilot Light` to finish and then run `Deploy Solutions Factory`

   <figure><img src="/files/vA6eIJLixyEaaz2NoMDL" alt=""><figcaption><p>Click to view full size image</p></figcaption></figure>
9. Update is complete!
