diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3b0f46e82..ca997caf5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -25,11 +25,10 @@ jobs: path: ~/.cache/pip key: ${{ runner.os }}-pkg-deps-${{ matrix.python }}-${{ hashFiles('pyproject.toml') }}-docs - name: Install dependencies - # Earlier documentation (before v10) requires TensorFlow - later it's built from the PyTorch code - so we need to install both (dev) - # Additional the dev specifier includes all [docs] dependencies run: | python -m pip install --upgrade pip - pip install -e .[dev] + pip install -e .[tf,viz,html] --upgrade + pip install -e .[docs] - name: Build documentation run: cd docs && bash build.sh diff --git a/.github/workflows/pr-labels.yml b/.github/workflows/pr-labels.yml index 9e6d26cf5..cf1e264eb 100644 --- a/.github/workflows/pr-labels.yml +++ b/.github/workflows/pr-labels.yml @@ -26,4 +26,4 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { issue: { number: issue_number }, repo: { owner, repo } } = context; - github.issues.createComment({ issue_number, owner, repo, body: 'Hey ${{ steps.commit.outputs.merger }} 👋\nYou merged this PR, but it is not correctly labeled. The list of valid labels is available at https://github.com/mindee/doctr/blob/main/.github/verify_pr_labels.py' }); + github.rest.issues.createComment({ issue_number, owner, repo, body: 'Hey ${{ steps.commit.outputs.merger }} 👋\nYou merged this PR, but it is not correctly labeled. The list of valid labels is available at https://github.com/mindee/doctr/blob/main/.github/verify_pr_labels.py' });