Skip to content

Commit 9655723

Browse files
Update template-pr-ci.yml with CDS secret (#31)
* Update template-pr-ci.yml * add environment variable for the CDS api key --------- Co-authored-by: Stefan Pfenninger-Lee <stefan@pfenninger.org>
1 parent 6033d1b commit 9655723

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/template-pr-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Reusable Pull Request CI tests for modules
22

33
on:
44
workflow_call:
5+
secrets:
6+
CDSAPI_KEY:
7+
required: false
58

69
jobs:
710
build:
@@ -12,6 +15,8 @@ jobs:
1215
matrix:
1316
os: [ubuntu-latest, windows-latest, macos-latest]
1417
python-version: ["3.12"]
18+
env:
19+
CDSAPI_KEY: ${{ secrets.CDSAPI_KEY }}
1520
steps:
1621
- uses: actions/checkout@v4
1722
- name: Setup pixi

0 commit comments

Comments
 (0)