Skip to content

Commit

Permalink
chore: pass CODECOV_TOKEN in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BroKun committed Mar 14, 2024
1 parent 27ed2cd commit 08e64ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- reopened
- synchronize
workflow_call:
secrets:
CODECOV_TOKEN:
required: false

jobs:
ci-javascript:
Expand All @@ -21,3 +24,5 @@ jobs:
matrix:
node-version: ['16']
python-version: ['3.8']
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
needs: [changesets]
if: |
needs.changesets.outputs.should-release == 'true'
name: Prerelease CI
uses: ./.github/workflows/ci.yml

permissions:
contents: read
actions: read
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

publish:
needs: [ci]
Expand Down

0 comments on commit 08e64ad

Please sign in to comment.