Skip to content

Commit 09a3c87

Browse files
committed
forward secrets
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
1 parent d9407ce commit 09a3c87

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/build-test-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ on:
1313
type: boolean
1414
description: Create a (pre-)release when CI passes
1515
required: true
16+
secrets:
17+
PYPI_USER:
18+
required: true
19+
PYPI_PASS:
20+
required: true
21+
GITHUB_TOKEN:
22+
required: true
1623
# run this workflow manually from the Actions tab
1724
workflow_dispatch:
1825
inputs:

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ jobs:
4343
# create_release becomes true if the event that triggered this workflow is "push" on main
4444
# otherwise create_release becomes false
4545
create_release: ${{ (github.event_name == 'workflow_dispatch' && inputs.create_release) || github.event_name == 'push'}}
46+
secrets:
47+
PYPI_USER: ${{ secrets.PYPI_USER }}
48+
PYPI_PASS: ${{ secrets.PYPI_PASS }}
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4650

4751
check-code-quality:
4852
uses: "./.github/workflows/check-code-quality.yml"

0 commit comments

Comments
 (0)