Skip to content

Commit e22a574

Browse files
committed
chore(ci): explicitly pass codecov token to reusable workflow
- Replace 'secrets: inherit' with explicit CODECOV_TOKEN secret - Apply to both on-pull-request and on-push-to-main workflows
1 parent cdb8c95 commit e22a574

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/on-pull-request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
verify:
1212
name: Verify
1313
uses: ./.github/workflows/verify.yml
14-
secrets: inherit
14+
secrets:
15+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1516

1617
docker-e2e:
1718
name: E2E-Coverage

.github/workflows/on-push-to-main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
verify:
1313
name: Verify
1414
uses: ./.github/workflows/verify.yml
15-
secrets: inherit
15+
secrets:
16+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1617

1718
changesets:
1819
name: Changesets

0 commit comments

Comments
 (0)