1name: Read the Docs PR preview 2# Automatically edits a pull request's descriptions with a link 3# to the documentation's preview on Read the Docs. 4 5on: 6 pull_request_target: 7 types: 8 - opened 9 paths: 10 - 'Doc/**' 11 - '.github/workflows/doc.yml' 12 13permissions: 14 pull-requests: write 15 16concurrency: 17 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 18 cancel-in-progress: true 19 20jobs: 21 documentation-links: 22 runs-on: ubuntu-latest 23 steps: 24 - uses: readthedocs/actions/preview@v1 25 with: 26 project-slug: "cpython-previews" 27 single-version: "true" 28