Skip to content

Commit

Permalink
Merge pull request #267 from alphagov/187078399-remove-repos-from-check
Browse files Browse the repository at this point in the history
Updated check-github-repos
  • Loading branch information
DominicGriffin authored Feb 20, 2024
2 parents 73e8b34 + bf30c8d commit 7d13089
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pipelines/plain_pipelines/check-github-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,18 @@ jobs:
puts
repos_without_paas_topic = repos
repos_without_accepted_topic = repos
.select { |repo| repo['name'].match?(/^paas/) }
.reject { |repo| repo['topics'].include? 'paas' }
.reject { |repo| repo['topics'].include? 'govuk-pay' }
if repos_without_paas_topic.empty?
if repos_without_accepted_topic.empty?
puts 'All repos have "paas" topic'
exit
end
puts 'The following repos should have the "paas" topic:'
repos_without_paas_topic.each do |repo|
repos_without_accepted_topic.each do |repo|
puts " - #{repo['name']}"
end
Expand Down

0 comments on commit 7d13089

Please sign in to comment.