Skip to content

Commit f9543f3

Browse files
Simplify the authentication inputs.
Prior to this commit I'd introduced an input to the shared worflow to make authentication more flexible; however, I've removed this for now to keep things simple. If a new requirement comes in, then we can review then. Signed-off-by: Gavin Didrichsen <[email protected]>
1 parent 12afa8d commit f9543f3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/module_ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,13 @@ on:
2424
required: false
2525
default: '2.7'
2626
type: "string"
27-
puppetcore_api_type:
28-
description: "The type of API to use for Puppet Core."
29-
required: false
30-
default: 'forge-key'
31-
type: "string"
3227

3328
# ENABLE PUPPETCORE. The calling workflow must:
3429
# - Set a valid PUPPET_FORGE_TOKEN secret on its repository.
3530
# - Set ruby_version >= 3.1 to override this workflow's default 2.7; otherwise bundle install will fail.
3631
env:
3732
PUPPET_FORGE_TOKEN: ${{ secrets.PUPPET_FORGE_TOKEN }}
38-
BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM: "${{ inputs.puppetcore_api_type }}:${{ secrets.PUPPET_FORGE_TOKEN }}"
33+
BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM: "forge-key:${{ secrets.PUPPET_FORGE_TOKEN }}"
3934

4035
jobs:
4136
setup_matrix:

0 commit comments

Comments
 (0)