Skip to content

Commit 25791eb

Browse files
committed
CI: apply zizmor auto-fixes
1 parent 042eff8 commit 25791eb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/main.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
runs-on: ubuntu-20.04
1010
steps:
1111
- uses: actions/checkout@v4
12+
with:
13+
persist-credentials: false
1214
- uses: actions/setup-python@v5
1315
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
1416
build:
@@ -18,6 +20,8 @@ jobs:
1820

1921
steps:
2022
- uses: actions/checkout@v4
23+
with:
24+
persist-credentials: false
2125
- uses: actions/setup-python@v5
2226
with:
2327
python-version: "3.10"
@@ -75,8 +79,10 @@ jobs:
7579
- name: Output artifacts URL
7680
run: |
7781
echo 'Artifact URL:' \
78-
'${{ steps.diffs-artifact-upload.outputs.artifact-url }}' \
82+
'${STEPS_DIFFS_ARTIFACT_UPLOAD_OUTPUTS_ARTIFACT_URL}' \
7983
>> $GITHUB_STEP_SUMMARY
84+
env:
85+
STEPS_DIFFS_ARTIFACT_UPLOAD_OUTPUTS_ARTIFACT_URL: ${{ steps.diffs-artifact-upload.outputs.artifact-url }}
8086
- name: Publish cheatsheets and handouts
8187
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
8288
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4

0 commit comments

Comments
 (0)