Skip to content

Commit c66246b

Browse files
ci: harden artifact upload workflow
1 parent e0bca0c commit c66246b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/install-matrix.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
steps:
4242
- name: Checkout repository
4343
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
44+
with:
45+
persist-credentials: false
4446

4547
- name: Set up Python
4648
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
@@ -81,6 +83,8 @@ jobs:
8183
steps:
8284
- name: Checkout repository
8385
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
86+
with:
87+
persist-credentials: false
8488

8589
- name: Set up Python
8690
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
@@ -104,7 +108,7 @@ jobs:
104108

105109
- name: Upload test artifacts on failure
106110
if: ${{ failure() }}
107-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
111+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
108112
with:
109113
name: api-smoke-artifacts-${{ matrix.os }}-py${{ matrix.python-version }}
110114
path: |
@@ -122,6 +126,8 @@ jobs:
122126
steps:
123127
- name: Checkout repository
124128
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
129+
with:
130+
persist-credentials: false
125131

126132
- name: Set up Python
127133
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
@@ -207,7 +213,7 @@ jobs:
207213
208214
- name: Upload live validation logs
209215
if: ${{ always() }}
210-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
216+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
211217
with:
212218
name: live-claude-haiku-logs
213219
path: |

0 commit comments

Comments
 (0)