diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e3f30900..72e4c593 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -155,19 +155,6 @@ jobs: cd demo for file in *.ipynb; do papermill $file foo.ipynb; done name: Test all demo notebooks - - RTD-links: - on: - pull_request_target: - types: - -opened - permissions: - pull-requests: write - runs-on: ubuntu-latest - steps: - - uses: readthedocs/actions/preview@v1 - with: - project-slug: "montepy" format-test: runs-on: ubuntu-latest diff --git a/.github/workflows/rtd_link.yml b/.github/workflows/rtd_link.yml new file mode 100644 index 00000000..a65928ab --- /dev/null +++ b/.github/workflows/rtd_link.yml @@ -0,0 +1,17 @@ +name: add RTD links +on: + pull_request_target: + types: + - opened + # Execute this action only on PRs that touch + # documentation files. + # paths: + # - "docs/**" + + permissions: + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: readthedocs/actions/preview@v1 + with: + project-slug: "montepy"