Skip to content

Commit

Permalink
reusable-ci.yml: Pass CODECOV_TOKEN secret
Browse files Browse the repository at this point in the history
  • Loading branch information
gifnksm committed Mar 28, 2024
1 parent 47020f4 commit b0825bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/reusable-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on:
workflow_call:
secrets:
CODECOV_TOKEN:
required: true
inputs:
run-test:
required: false
Expand Down
2 changes: 2 additions & 0 deletions template/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ env:
jobs:
ci:
uses: gifnksm/rust-template/.github/workflows/reusable-ci.yml@main
secrets:
CODECOV_TOKEN: {{ "${{ secrets.CODECOV_TOKEN }}" }}

ci-complete:
needs: ci
Expand Down

0 comments on commit b0825bb

Please sign in to comment.