Skip to content

Commit

Permalink
move codeCov token to action secrets for better security (#83)
Browse files Browse the repository at this point in the history
Signed-off-by: Xiangjing Li <[email protected]>
  • Loading branch information
xiangjingli authored Apr 25, 2024
1 parent ad986ca commit 03d15d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-postsubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: report-coverage
uses: codecov/codecov-action@v4
with:
token: 0718e448-c0d1-4aa1-87dd-6761e6a5a587
token: ${{ secrets.CODECOV_TOKEN }}
files: /home/runner/work/multicloud-operators-channel/multicloud-operators-channel/go/src/open-cluster-management.io/multicloud-operators-channel/coverage.out
flags: unit
name: unit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: report-coverage
uses: codecov/codecov-action@v4
with:
token: 0718e448-c0d1-4aa1-87dd-6761e6a5a587
token: ${{ secrets.CODECOV_TOKEN }}
files: /home/runner/work/multicloud-operators-channel/multicloud-operators-channel/go/src/open-cluster-management.io/multicloud-operators-channel/coverage.out
flags: unit
name: unit
Expand Down

0 comments on commit 03d15d0

Please sign in to comment.