diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3c8d31ca4e4..fc9a8392adb 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,12 +10,20 @@ on: - 'instrumentation/**' - 'opentelemetry-python/opentelemetry-api/src/opentelemetry/**' - 'opentelemetry-python/opentelemetry-sdk/src/opentelemetry/sdk/**' +env: + CONTRIB_REPO_SHA: master jobs: docs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Checkout Contrib Repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} + uses: actions/checkout@v2 + with: + repository: open-telemetry/opentelemetry-python-contrib + ref: ${{ env.CONTRIB_REPO_SHA }} + path: opentelemetry-python-contrib - name: Set up Python py38 uses: actions/setup-python@v2 with: