Skip to content

Commit

Permalink
Use variables instead of secrets
Browse files Browse the repository at this point in the history
Secrets are not available to forks. Using variables allows PRs CI runs to obtain the token as well.

Co-authored-by: per1234 <accounts@perglass.com>
  • Loading branch information
cmaglie and per1234 committed Mar 28, 2023
1 parent 4372221 commit 201430b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-go-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:
- name: Send unit tests coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ vars.CODECOV_TOKEN }}
files: ./coverage.txt
flags: unit
fail_ci_if_error: ${{ github.repository == 'arduino/arduino-cli' }}

0 comments on commit 201430b

Please sign in to comment.