diff --git a/.github/workflows/autolink-readthedocs-previews-to-prs.yaml b/.github/workflows/autolink-readthedocs-previews-to-prs.yaml new file mode 100644 index 00000000..912e93de --- /dev/null +++ b/.github/workflows/autolink-readthedocs-previews-to-prs.yaml @@ -0,0 +1,14 @@ +name: Add readthedocs preview link to pull requests + +on: + pull_request_target: + +jobs: + autolink-rtd-previews: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: readthedocs/actions/preview@v1 + with: + project-slug: "2i2c-team-compass"