Expose assert_path_is_inside_docroot
function (#11045)
#2401
This file contains 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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
build: | |
permissions: | |
contents: none | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger tests in readthedocs-corporate | |
run: | | |
curl --request POST \ | |
--silent --output /dev/null \ | |
--url https://circleci.com/api/v2/project/gh/readthedocs/readthedocs-corporate/pipeline \ | |
--user '${{ secrets.CIRCLECI_USER_TOKEN }}:' \ | |
--header 'content-type: application/json' \ | |
--data '{"branch": "main", "parameters":{"tests_only": true}}' | |
- name: Trigger tests in readthedocs-ext | |
run: | | |
curl --request POST \ | |
--silent --output /dev/null \ | |
--url https:/circleci.com/api/v2/project/gh/readthedocs/readthedocs-ext/pipeline \ | |
--user '${{ secrets.CIRCLECI_USER_TOKEN }}:' \ | |
--header 'content-type: application/json' \ | |
--data '{"branch": "main", "parameters":{"tests_only": true}}' |