Skip to content

Commit ae68576

Browse files
Update
Signed-off-by: Gavin Didrichsen <[email protected]>
1 parent dcf8ba9 commit ae68576

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,12 @@ on:
66
- "main"
77
workflow_dispatch:
88

9-
# GitHub Actions doesn't allow string interpolation in the 'secrets:' section of a workflow call.
10-
# We need to construct the authentication string with the token here as an environment variable,
11-
# then pass that constructed variable as a secret to the called workflow.
12-
env:
13-
BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM: "forge-key:${{ secrets.PUPPET_FORGE_TOKEN }}"
14-
159
jobs:
1610
Spec:
1711
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@puppetcore"
1812
with:
1913
# This line enables shellcheck to be run on this repository
2014
run_shellcheck: true
2115
secrets:
22-
# Pass the pre-formatted authentication string from the environment variable
23-
BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM: ${{ env.BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM }}
16+
PUPPET_FORGE_TOKEN: ${{ secrets.PUPPET_FORGE_TOKEN }}
2417
inherit: true

0 commit comments

Comments
 (0)