From 919d072b4d40cf87ce8edfff5239e1f7852cd6d0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 17 Oct 2026 01:56:20 +0500 Subject: fix zizmor warnings --- .github/workflows/test.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8e848c..f47ad11 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,8 @@ on: - cron: '30 00 * * 5' workflow_dispatch: +permissions: {} + jobs: test: strategy: @@ -26,9 +28,9 @@ jobs: - {python: 0, python_descr: ''} - {python: 1, python_descr: ' + setup-python'} - runs-on: '${{ matrix.os }}' + runs-on: ${{ matrix.os }} - name: '${{ matrix.name }}${{ matrix.default_descr }}${{ matrix.python_descr }}' + name: ${{ matrix.name }}${{ matrix.default_descr }}${{ matrix.python_descr }} defaults: run: @@ -37,6 +39,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 + with: + persist-credentials: false - name: Set up Python uses: actions/setup-python@v7 @@ -60,10 +64,10 @@ jobs: if: matrix.python - name: Clean up PATH - uses: ./ + uses: $/ with: dirs: C:\foo;C:\bar - default: '${{ matrix.default }}' + default: ${{ matrix.default }} - name: Show %PATH% run: | @@ -109,5 +113,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 + with: + persist-credentials: false - name: Release uses: softprops/action-gh-release@v3 -- cgit v1.3