Only update documentation when merging into default branch
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3435899. --> Reported by: [jonathan1055](https://www.drupal.org/user/92645) Related to !164 !176 >>> <p>The new job to update the gitlab_templates documentation pages appears to be running on every scheduled pipeline. The intention was that it should only run when committing to the default branch, and also only when there are changes to the docs files. The job has</p> <pre>pages:<br>&nbsp; rules:<br>&nbsp;&nbsp;&nbsp; - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; changes:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - docs/**/*<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - mkdocs.yml</pre><p> but this does not seem to prevent the job running - see <a href="https://git.drupalcode.org/project/gitlab_templates/-/pipelines/128430">https://git.drupalcode.org/project/gitlab_templates/-/pipelines/128430</a></p> <p>This issue also updates the Testing Merge Requests doc page - the preview is <a href="https://git.drupalcode.org/issue/gitlab_templates-3435899/-/blob/3435899-pages-on-merge/docs/info/testing-mrs.md">3435899-pages-on-merge/docs/info/testing-mrs.md</a></p>
issue