Skip to content

Commit

Permalink
fix codecov token settings
Browse files Browse the repository at this point in the history
  • Loading branch information
waynepeking348 committed Apr 17, 2024
1 parent 933b194 commit 76fcb1f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
- name: dump secrets
run: echo "CODECOV_TOKEN ${{ secrets.CODECOV_TOKEN }}; LEBRON ${{ secrets.LEBRON }}; STEPHON ${{ secrets.STEPHON }}; KOBE ${{ secrets.KOBE }}; wayne ${{ secrets.wayne }}"
- name: dump env
run: echo "CODECOV_TOKEN ${{ env.CODECOV_TOKEN }}; LEBRON ${{ env.LEBRON }}; STEPHON ${{ env.STEPHON }}; KOBE ${{ env.KOBE }}; wayne ${{ env.wayne }}"
- name: dump vars
run: echo "CODECOV_TOKEN ${{ vars.CODECOV_TOKEN }}; LEBRON ${{ vars.LEBRON }}; STEPHON ${{ vars.STEPHON }}; KOBE ${{ vars.KOBE }}; wayne ${{ vars.wayne }}"
- name: Build
run: make all-binaries

Expand Down Expand Up @@ -103,7 +109,7 @@ jobs:
if: ${{ (env.NEED_TO_CHECK == 'true') || (github.event_name != 'pull_request') }}
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_TOKEN: 411bcf91-fb5f-444e-ad16-8380573a8c81
with:
flags: unittest
file: coverage.txt
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/status-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ jobs:
- name: Check if the PR is hold
if: contains(github.event.pull_request.labels.*.name, 'workflow/merge-hold')
run: echo 'This pull request is hold' && exit 1
- name: dump secrets
run: echo "CODECOV_TOKEN ${{ secrets.CODECOV_TOKEN }}; LEBRON ${{ secrets.LEBRON }}; STEPHON ${{ secrets.STEPHON }}; KOBE ${{ secrets.KOBE }}; wayne ${{ secrets.wayne }}"
- name: dump env
run: echo "CODECOV_TOKEN ${{ env.CODECOV_TOKEN }}; LEBRON ${{ env.LEBRON }}; STEPHON ${{ env.STEPHON }}; KOBE ${{ env.KOBE }}; wayne ${{ env.wayne }}"
- name: dump vars
run: echo "CODECOV_TOKEN ${{ vars.CODECOV_TOKEN }}; LEBRON ${{ vars.LEBRON }}; STEPHON ${{ vars.STEPHON }}; KOBE ${{ vars.KOBE }}; wayne ${{ vars.wayne }}"

0 comments on commit 76fcb1f

Please sign in to comment.