test(NODE-7185): migrate `integration/server-selection/readpreference… #42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: ['main'] | |
workflow_dispatch: {} | |
name: Build and commit documentation | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
build-docs: | |
# prevent subsequent commits from triggering the job multiple times | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v5 | |
- name: "Build documentation" | |
uses: ./.github/actions/build_documentation | |
- name: Open Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
title: 'docs: generate docs from latest main [skip-ci]' | |
delete-branch: true |