From a9cc6d2b7d9d0cc13ab428810db13199aea590d3 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 25 Oct 2023 18:42:44 +0800 Subject: [PATCH 1/2] Setting navigation with keys to False (#2445) * Setting navigation with keys to False * Update the image cache * Revert "Update the image cache" This reverts commit 39e845f37d16503f0918e9680871da251f4982a4. --------- Co-authored-by: germa89 --- doc/source/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index 02b9e8ce4b..ed937859b7 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -258,6 +258,7 @@ "show_breadcrumbs": True, "collapse_navigation": True, "use_edit_page_button": True, + "navigation_with_keys": False, "additional_breadcrumbs": [ ("PyAnsys", "https://docs.pyansys.com/"), ], From afe9b86acd48dc4fa088ffe36dd9c74bb85a652d Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 25 Oct 2023 18:56:20 +0800 Subject: [PATCH 2/2] Fixing "Attaching modified files to PR" (#2439) * Adding more permissions to the workflow * Testing changes on checkout * testing workflow permissions * adding packages permission * Setting navigation with keys to False --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53da909290..24a9352d3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,11 +47,14 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true - defaults: run: shell: bash +permissions: + contents: write + packages: read + jobs: doc-style: @@ -479,6 +482,9 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} + persist-credentials: false + fetch-depth: 0 + - name: "Setup Python" uses: actions/setup-python@v4