File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 11# This is a generic workflow for Puppet module CI operations.
22name : " Module CI"
33
4- # ENABLE PUPPETCORE. The calling workflow must:
5- # - Set a valid PUPPET_FORGE_TOKEN secret on its repository.
6- # - Set ruby_version >= 3.1 to override this workflow's default 2.7; otherwise bundle install will fail.
7- env :
8- PUPPET_FORGE_TOKEN : ${{ secrets.PUPPET_FORGE_TOKEN }}
9- BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM : " forge-key:${{ secrets.PUPPET_FORGE_TOKEN }}"
104
115on :
126 workflow_call :
3125 required : false
3226 default : ' 2.7'
3327 type : " string"
28+ puppetcore_api_type :
29+ description : " The type of API to use for Puppet Core."
30+ required : false
31+ default : ' forge-key'
32+ type : " string"
33+
34+ # ENABLE PUPPETCORE. The calling workflow must:
35+ # - Set a valid PUPPET_FORGE_TOKEN secret on its repository.
36+ # - Set ruby_version >= 3.1 to override this workflow's default 2.7; otherwise bundle install will fail.
37+ env :
38+ PUPPET_FORGE_TOKEN : ${{ secrets.PUPPET_FORGE_TOKEN }}
39+ BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM : " ${{ inputs.puppetcore_api_type }}:${{ secrets.PUPPET_FORGE_TOKEN }}"
3440
3541jobs :
3642 setup_matrix :
You can’t perform that action at this time.
0 commit comments