From 5115426c8feae3aa90733c998a162a6316ec2227 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Wed, 12 Feb 2025 01:04:50 +0530 Subject: [PATCH 1/2] chore: update gh workflow permissions chore: update gh workflow permissions --- .github/workflows/docs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d21ada6..1385ede 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,6 +3,8 @@ on: branches: - main name: docs +permissions: + contents: read # This applies to all jobs jobs: docs: runs-on: ubuntu-latest @@ -12,7 +14,7 @@ jobs: - name: Setup Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5 with: - python-version: "3.9" + python-version: "3.10" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel @@ -35,4 +37,4 @@ jobs: python -m pip install nox - name: Run docfx run: | - nox -s docfx \ No newline at end of file + nox -s docfx From 4b48c3ef8e6962971a244123223da2f1be03d7e3 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Wed, 12 Feb 2025 01:31:14 +0530 Subject: [PATCH 2/2] Update noxfile.py --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 172e182..2ad8aec 100644 --- a/noxfile.py +++ b/noxfile.py @@ -36,7 +36,7 @@ nox.options.error_on_missing_interpreters = True -@nox.session(python="3.9") +@nox.session(python="3.10") def docs(session): """Build the docs for this library."""