Skip to content

Commit 201430b

Browse files
cmaglieper1234
andauthored
Use variables instead of secrets
Secrets are not available to forks. Using variables allows PRs CI runs to obtain the token as well. Co-authored-by: per1234 <[email protected]>
1 parent 4372221 commit 201430b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/test-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ jobs:
197197
- name: Send unit tests coverage to Codecov
198198
uses: codecov/codecov-action@v3
199199
with:
200-
token: ${{ secrets.CODECOV_TOKEN }}
200+
token: ${{ vars.CODECOV_TOKEN }}
201201
files: ./coverage.txt
202202
flags: unit
203203
fail_ci_if_error: ${{ github.repository == 'arduino/arduino-cli' }}

0 commit comments

Comments
 (0)