From 67d7ec2c73bf3fc6b1454c4e73d025f6a9b21f4e Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Thu, 11 Jan 2024 22:00:59 +0100 Subject: [PATCH] Provide GITHUB_TOKEN to cleanup step.. --- .github/workflows/ArtifactCleanUp.yml | 2 ++ .github/workflows/SphinxDocumentation.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ArtifactCleanUp.yml b/.github/workflows/ArtifactCleanUp.yml index e325baa..2480577 100644 --- a/.github/workflows/ArtifactCleanUp.yml +++ b/.github/workflows/ArtifactCleanUp.yml @@ -48,9 +48,11 @@ jobs: uses: geekyeggo/delete-artifact@v4 with: name: ${{ inputs.package }} + token: ${{ secrets.GITHUB_TOKEN }} - name: 🗑️ Delete remaining Artifacts if: ${{ inputs.remaining != '' }} uses: geekyeggo/delete-artifact@v4 with: name: ${{ inputs.remaining }} + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/SphinxDocumentation.yml b/.github/workflows/SphinxDocumentation.yml index 4304599..3692605 100644 --- a/.github/workflows/SphinxDocumentation.yml +++ b/.github/workflows/SphinxDocumentation.yml @@ -72,11 +72,11 @@ jobs: - name: 🐍 Setup Python ${{ inputs.python_version }} uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python }} + python-version: ${{ inputs.python_version }} - name: 🔧 Install wheel,tomli and pip dependencies (native) run: | - # python -m pip install --disable-pip-version-check -U wheel tomli + python -m pip install --disable-pip-version-check -U wheel tomli python -m pip install --disable-pip-version-check ${{ inputs.requirements }} - name: 🔁 Extract configurations from pyproject.toml