|
67 | 67 | - name: Uninstall Modules |
68 | 68 | run: | |
69 | 69 | make uninstall |
70 | | - # no token needed: public repo uses Codecov's tokenless upload via |
71 | | - # GitHub OIDC, which also works for pull requests coming from forks |
72 | | - # (base repo secrets are never exposed to fork-triggered PR runs) |
73 | 70 | - uses: codecov/codecov-action@v7 |
| 71 | + with: |
| 72 | + token: ${{ secrets.CODECOV_TOKEN }} |
74 | 73 | - uses: actions/upload-artifact@v7 |
75 | 74 | if: failure() |
76 | 75 | with: |
@@ -155,10 +154,9 @@ jobs: |
155 | 154 | - name: Uninstall Modules |
156 | 155 | run: | |
157 | 156 | make uninstall |
158 | | - # no token needed: public repo uses Codecov's tokenless upload via |
159 | | - # GitHub OIDC, which also works for pull requests coming from forks |
160 | | - # (base repo secrets are never exposed to fork-triggered PR runs) |
161 | 157 | - uses: codecov/codecov-action@v7 |
| 158 | + with: |
| 159 | + token: ${{ secrets.CODECOV_TOKEN }} |
162 | 160 | - uses: actions/upload-artifact@v7 |
163 | 161 | if: failure() |
164 | 162 | with: |
@@ -239,10 +237,9 @@ jobs: |
239 | 237 | - name: Uninstall Modules |
240 | 238 | run: | |
241 | 239 | make uninstall |
242 | | - # no token needed: public repo uses Codecov's tokenless upload via |
243 | | - # GitHub OIDC, which also works for pull requests coming from forks |
244 | | - # (base repo secrets are never exposed to fork-triggered PR runs) |
245 | 240 | - uses: codecov/codecov-action@v7 |
| 241 | + with: |
| 242 | + token: ${{ secrets.CODECOV_TOKEN }} |
246 | 243 | - uses: actions/upload-artifact@v7 |
247 | 244 | if: failure() |
248 | 245 | with: |
@@ -308,10 +305,9 @@ jobs: |
308 | 305 | - name: Uninstall Modules |
309 | 306 | run: | |
310 | 307 | make uninstall |
311 | | - # no token needed: public repo uses Codecov's tokenless upload via |
312 | | - # GitHub OIDC, which also works for pull requests coming from forks |
313 | | - # (base repo secrets are never exposed to fork-triggered PR runs) |
314 | 308 | - uses: codecov/codecov-action@v7 |
| 309 | + with: |
| 310 | + token: ${{ secrets.CODECOV_TOKEN }} |
315 | 311 | - uses: actions/upload-artifact@v7 |
316 | 312 | if: failure() |
317 | 313 | with: |
@@ -379,10 +375,9 @@ jobs: |
379 | 375 | - name: Uninstall Modules |
380 | 376 | run: | |
381 | 377 | make uninstall |
382 | | - # no token needed: public repo uses Codecov's tokenless upload via |
383 | | - # GitHub OIDC, which also works for pull requests coming from forks |
384 | | - # (base repo secrets are never exposed to fork-triggered PR runs) |
385 | 378 | - uses: codecov/codecov-action@v7 |
| 379 | + with: |
| 380 | + token: ${{ secrets.CODECOV_TOKEN }} |
386 | 381 | - uses: actions/upload-artifact@v7 |
387 | 382 | if: failure() |
388 | 383 | with: |
@@ -525,10 +520,9 @@ jobs: |
525 | 520 | - name: Uninstall Modules |
526 | 521 | run: | |
527 | 522 | make uninstall |
528 | | - # no token needed: public repo uses Codecov's tokenless upload via |
529 | | - # GitHub OIDC, which also works for pull requests coming from forks |
530 | | - # (base repo secrets are never exposed to fork-triggered PR runs) |
531 | 523 | - uses: codecov/codecov-action@v7 |
| 524 | + with: |
| 525 | + token: ${{ secrets.CODECOV_TOKEN }} |
532 | 526 | - uses: actions/upload-artifact@v7 |
533 | 527 | if: failure() |
534 | 528 | with: |
|
0 commit comments