We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1701aa9 commit a50d1e6Copy full SHA for a50d1e6
exe/matrix_from_metadata_v3
@@ -104,8 +104,9 @@ default_options = {
104
begin
105
Action.init
106
107
- # hidden argument to setup puppetlabs org defaults
108
- default_options[:'provision-exclude'] = 'provision_service' if ARGV.reject! { |x| x == '--puppetlabs' }.nil?
+ # default disable provision_service if puppetlabs is not the owner
+ default_options[:'provision-exclude'] = 'provision_service' \
109
+ if ARGV.reject! { |x| x == '--puppetlabs' }.nil? && !['puppetlabs'].include?(ENV.fetch('GITHUB_REPOSITORY_OWNER', nil))
110
111
# apply default_options if not overridden on the command line
112
default_options.each do |arg, value|
0 commit comments