Skip to content

Commit

Permalink
move codeCov token to action secrets for better security (#394)
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 847c2b5 commit 3fde81c
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 @@ -34,7 +34,7 @@ jobs:
- name: report-coverage
uses: codecov/codecov-action@v4
with:
token: 499fda0d-574a-439f-bc75-b591085753c8
token: ${{ secrets.CODECOV_TOKEN }}
files: /home/runner/work/multicloud-operators-subscription/multicloud-operators-subscription/go/src/github.com/open-cluster-management/multicloud-operators-subscription/coverage.out,/home/runner/work/multicloud-operators-subscription/multicloud-operators-subscription/go/src/github.com/open-cluster-management/multicloud-operators-subscription/addon_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 @@ -84,7 +84,7 @@ jobs:
- name: report-coverage
uses: codecov/codecov-action@v4
with:
token: 499fda0d-574a-439f-bc75-b591085753c8
token: ${{ secrets.CODECOV_TOKEN }}
files: /home/runner/work/multicloud-operators-subscription/multicloud-operators-subscription/go/src/github.com/open-cluster-management/multicloud-operators-subscription/coverage.out,/home/runner/work/multicloud-operators-subscription/multicloud-operators-subscription/go/src/github.com/open-cluster-management/multicloud-operators-subscription/addon_coverage.out
flags: unit
name: unit
Expand Down

0 comments on commit 3fde81c

Please sign in to comment.