Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit 114457f

Browse files
authored
Pass token from caller (#42)
1 parent dbd46ef commit 114457f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [ "master" ]
88
workflow_call:
9+
secrets:
10+
codecov_token:
11+
required: true
912

1013
jobs:
1114
build:
@@ -32,5 +35,5 @@ jobs:
3235
if: matrix.os == 'ubuntu-latest'
3336
uses: codecov/codecov-action@v4.3.1
3437
with:
35-
token: ${{ secrets.CODECOV_TOKEN }}
38+
token: ${{ secrets.codecov_token }}
3639
slug: atraplet/ecos4j

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build:
1010
uses: atraplet/ecos4j/.github/workflows/build.yml@master
11+
secrets:
12+
codecov_token: ${{ secrets.CODECOV_TOKEN }}
1113

1214
release:
1315
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)