File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 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-
159jobs :
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
You can’t perform that action at this time.
0 commit comments