Skip to content

Commit 0f8b306

Browse files
committed
(PA-7366) Pass secrets to install nightly and released gems
Resolves this error: The workflow is not valid. .github/workflows/unit_tests.yaml (Line: 16, Col: 11): Secret PUPPET_FORGE_TOKEN_PUBLIC is required, but not provided while calling. We need the twingate token for nightly puppet and the puppetcore token for released puppet builds.
1 parent 3135977 commit 0f8b306

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
daily_unit_tests_with_nightly_puppet_gem:
1111
uses: "puppetlabs/phoenix-github-actions/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml@main"
12+
secrets: inherit
1213

1314
notify-via-slack:
1415
name: Notify workflow conclusion via Slack

.github/workflows/unit_tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
jobs:
1212
Nightly:
1313
uses: "puppetlabs/phoenix-github-actions/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml@main"
14+
secrets: inherit
1415

1516
Released:
1617
uses: "puppetlabs/phoenix-github-actions/.github/workflows/unit_tests_with_released_puppet_gem.yaml@main"
18+
secrets: inherit

0 commit comments

Comments
 (0)