File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,8 @@ require 'html-proofer'
4
4
5
5
task :test do
6
6
sh 'bundle exec jekyll build'
7
- HTMLProofer . check_directory ( './_site/' , check_html : true ) . run
7
+ HTMLProofer . check_directory ( './_site/' ,
8
+ check_html : true ,
9
+ hydra : { max_concurrency : 10 } ,
10
+ http_status_ignore : [ 429 ] ) . run
8
11
end
Original file line number Diff line number Diff line change @@ -117,9 +117,10 @@ Canada:
117
117
- CityofEdmonton
118
118
- cityssm
119
119
- cngo
120
- - communicationssecurityestablishment
120
+ - CommunicationSecurityEstablishment
121
121
- csbp-cpse
122
122
- CSPS-EFPC-DAAN
123
+ - CybercentreCanada
123
124
- ECCC-MSC
124
125
- electionsquebec
125
126
- esdc-devx
@@ -469,9 +470,9 @@ Sweden:
469
470
- riksantikvarieambetet
470
471
- riksarkivet
471
472
- rinfo
472
- - RISE-SICS
473
473
- sambruk
474
474
- SciLifeLab
475
+ - SICS
475
476
- skolverket
476
477
- smhi
477
478
- SodertornHB
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Typhoeus::Config.cache = Cache.new
27
27
# We'd constantly hit any rate limit as each needs to be its own query
28
28
def org? ( user )
29
29
response = Typhoeus . head "https://github.com/orgs/#{ user } /people" , accept_encoding : 'gzip'
30
- response . success?
30
+ response . success? || response . response_code == 429
31
31
end
32
32
33
33
puts 'Checking that all orgs listed are in fact, an org...'
You can’t perform that action at this time.
0 commit comments