Skip to content

Commit

Permalink
CI: move secrets context to test.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anilbey committed Mar 4, 2024
1 parent 07a0ac3 commit 2ef8256
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
push:
branches:
- main
workflow_call:
secrets:
CODECOV_TOKEN:
description: The token to upload coverage to codecov
required: true

jobs:
call-test-workflow:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ on:
pull_request:
# allows this workflow to be reusable (e.g. by the build workflow)
workflow_call:

secrets:
CODECOV_TOKEN:
description: The token to upload coverage to codecov
required: true

jobs:
tests:
Expand Down

0 comments on commit 2ef8256

Please sign in to comment.