diff --git a/.github/actions/mike-docs/action.yaml b/.github/actions/mike-docs/action.yaml index 1cf2783c..1a6e7313 100644 --- a/.github/actions/mike-docs/action.yaml +++ b/.github/actions/mike-docs/action.yaml @@ -26,10 +26,13 @@ runs: shell: bash - env: DOCS_PRERELEASE: ${{ inputs.pre_release }} + INPUTS_PUSH: ${{ inputs.push }} + INPUTS_VERSION: ${{ inputs.version }} + INPUTS_ALIAS: ${{ inputs.alias }} run: | MIKE_OPTIONS=( "--update-aliases" ) - if [ "true" = "${{ inputs.push }}" ]; then + if [ "true" = "${INPUTS_PUSH}" ]; then MIKE_OPTIONS+=( "--push" ) fi - uv run mike deploy ${{ inputs.version }} ${{ inputs.alias }} "${MIKE_OPTIONS[@]}" + uv run mike deploy "${INPUTS_VERSION}" ${INPUTS_ALIAS} "${MIKE_OPTIONS[@]}" shell: bash diff --git a/.github/workflows/lint-and-test.yaml b/.github/workflows/lint-and-test.yaml index 0b07668d..4f12ae03 100644 --- a/.github/workflows/lint-and-test.yaml +++ b/.github/workflows/lint-and-test.yaml @@ -14,6 +14,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Install uv uses: astral-sh/setup-uv@v5 with: @@ -30,6 +32,8 @@ jobs: python-version: [ "3.10", 3.11, 3.12, 3.13 ] steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Install uv uses: astral-sh/setup-uv@v5 with: @@ -43,6 +47,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + persist-credentials: false - name: Install uv uses: astral-sh/setup-uv@v5 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4ca5e0b4..c764d5cd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + persist-credentials: false - name: Install uv uses: astral-sh/setup-uv@v5 with: