-
Notifications
You must be signed in to change notification settings - Fork 5
489 lines (489 loc) · 18.5 KB
/
dependency-updates.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
name: dependency-updates
on:
push:
branches:
- latest
schedule:
- cron: "0 */6 * * *"
workflow_dispatch:
jobs:
nginx-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update nginx version
id: update
run: |
NGINX_VER="$(
git ls-remote --tags https://github.com/freenginx/nginx \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1
)"
sed -i "s|ARG NGINX_VER=.*|ARG NGINX_VER=$NGINX_VER|" Dockerfile
echo "version=$NGINX_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update nginx version to ${{ steps.update.outputs.version }}
branch: update-nginx-version
title: update nginx version to ${{ steps.update.outputs.version }}
body: update nginx version to ${{ steps.update.outputs.version }}
openssl-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update openssl version
id: update
run: |
OPENSSL_VER="$(
git ls-remote --heads https://github.com/quictls/openssl openssl-*.*.*+quic \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1
)"
sed -i "s|ARG OPENSSL_VER=.*|ARG OPENSSL_VER=$OPENSSL_VER|" Dockerfile
echo "version=$OPENSSL_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update openssl version to ${{ steps.update.outputs.version }}
branch: update-openssl-version
title: update openssl version to ${{ steps.update.outputs.version }}
body: update openssl version to ${{ steps.update.outputs.version }}
modsecurity-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update modsecurity version
id: update
run: |
MODSEC_VER="$(
git ls-remote --tags https://github.com/SpiderLabs/ModSecurity \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1 \
| sed "s|\^{}||g"
)"
sed -i "s|ARG MODSEC_VER=.*|ARG MODSEC_VER=$MODSEC_VER|" Dockerfile
echo "version=$MODSEC_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update modsecurity version to ${{ steps.update.outputs.version }}
branch: update-modsecurity-version
title: update modsecurity version to ${{ steps.update.outputs.version }}
body: update modsecurity version to ${{ steps.update.outputs.version }}
dynamic_tls_records-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update dynamic_tls_records version
id: update
run: |
git clone https://github.com/nginx-modules/ngx_http_tls_dyn_size ngx_http_tls_dyn_size
DTR_VER="$(
ls ngx_http_tls_dyn_size/nginx__dynamic_tls_records_*.patch \
| sed "s|ngx_http_tls_dyn_size/nginx__dynamic_tls_records_\([0-9.]\+\)+.patch|\1|g" \
| sort -V \
| grep -v rc \
| tail -1
)"
rm -r ngx_http_tls_dyn_size
sed -i "s|ARG DTR_VER=.*|ARG DTR_VER=$DTR_VER|" Dockerfile
echo "version=$DTR_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update dynamic_tls_records version to ${{ steps.update.outputs.version }}
branch: update-dynamic_tls_records-version
title: update dynamic_tls_records version to ${{ steps.update.outputs.version }}
body: update dynamic_tls_records version to ${{ steps.update.outputs.version }}
resolver_conf_parsing-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update resolver_conf_parsing version
id: update
run: |
git clone https://github.com/openresty/openresty openresty
RCP_VER="$(
ls openresty/patches/nginx-*-resolver_conf_parsing.patch \
| sed "s|openresty/patches/nginx-\([0-9.]\+\)-resolver_conf_parsing.patch|\1|g" \
| sort -V \
| grep -v rc \
| tail -1
)"
rm -r openresty
sed -i "s|ARG RCP_VER=.*|ARG RCP_VER=$RCP_VER|" Dockerfile
echo "version=$RCP_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update resolver_conf_parsing version to ${{ steps.update.outputs.version }}
branch: update-resolver_conf_parsing-version
title: update resolver_conf_parsing version to ${{ steps.update.outputs.version }}
body: update resolver_conf_parsing version to ${{ steps.update.outputs.version }}
ngx_brotli-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update ngx_brotli version
id: update
run: |
NB_VER="$(
git ls-remote --tags https://github.com/google/ngx_brotli \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1
)"
sed -i "s|ARG NB_VER=.*|ARG NB_VER=$NB_VER|" Dockerfile
echo "version=$NB_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update ngx_brotli version to ${{ steps.update.outputs.version }}
branch: update-ngx_brotli-version
title: update ngx_brotli version to ${{ steps.update.outputs.version }}
body: update ngx_brotli version to ${{ steps.update.outputs.version }}
ngx-fancyindex-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update ngx-fancyindex version
id: update
run: |
NF_VER="$(
git ls-remote --tags https://github.com/aperezdc/ngx-fancyindex \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1 \
| sed "s|\^{}||g"
)"
sed -i "s|ARG NF_VER=.*|ARG NF_VER=$NF_VER|" Dockerfile
echo "version=$NF_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update ngx-fancyindex version to ${{ steps.update.outputs.version }}
branch: update-ngx-fancyindex-version
title: update ngx-fancyindex version to ${{ steps.update.outputs.version }}
body: update ngx-fancyindex version to ${{ steps.update.outputs.version }}
headers-more-nginx-module-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update headers-more-nginx-module version
id: update
run: |
HMNM_VER="$(
git ls-remote --tags https://github.com/openresty/headers-more-nginx-module \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1
)"
sed -i "s|ARG HMNM_VER=.*|ARG HMNM_VER=$HMNM_VER|" Dockerfile
echo "version=$HMNM_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update headers-more-nginx-module version to ${{ steps.update.outputs.version }}
branch: update-headers-more-nginx-module-version
title: update headers-more-nginx-module version to ${{ steps.update.outputs.version }}
body: update headers-more-nginx-module version to ${{ steps.update.outputs.version }}
njs-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update njs version
id: update
run: |
NJS_VER="$(
git ls-remote --tags https://github.com/nginx/njs \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1 \
| sed "s|\^{}||g"
)"
sed -i "s|ARG NJS_VER=.*|ARG NJS_VER=$NJS_VER|" Dockerfile
echo "version=$NJS_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update njs version to ${{ steps.update.outputs.version }}
branch: update-njs-version
title: update njs version to ${{ steps.update.outputs.version }}
body: update njs version to ${{ steps.update.outputs.version }}
ngx_devel_kit-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update ngx_devel_kit version
id: update
run: |
NDK_VER="$(
git ls-remote --tags https://github.com/vision5/ngx_devel_kit \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1 \
| sed "s|\^{}||g"
)"
sed -i "s|ARG NDK_VER=.*|ARG NDK_VER=$NDK_VER|" Dockerfile
echo "version=$NDK_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update ngx_devel_kit version to ${{ steps.update.outputs.version }}
branch: update-ngx_devel_kit-version
title: update ngx_devel_kit version to ${{ steps.update.outputs.version }}
body: update ngx_devel_kit version to ${{ steps.update.outputs.version }}
lua-nginx-module-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update lua-nginx-module version
id: update
run: |
LNM_VER="$(
git ls-remote --tags https://github.com/openresty/lua-nginx-module \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1
)"
sed -i "s|ARG LNM_VER=.*|ARG LNM_VER=$LNM_VER|" Dockerfile
echo "version=$LNM_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update lua-nginx-module version to ${{ steps.update.outputs.version }}
branch: update-lua-nginx-module-version
title: update lua-nginx-module version to ${{ steps.update.outputs.version }}
body: update lua-nginx-module version to ${{ steps.update.outputs.version }}
modsecurity-nginx-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update modsecurity-nginx version
id: update
run: |
MODSECNGX_VER="$(
git ls-remote --tags https://github.com/SpiderLabs/ModSecurity-nginx \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1 \
| sed "s|\^{}||g"
)"
sed -i "s|ARG MODSECNGX_VER=.*|ARG MODSECNGX_VER=$MODSECNGX_VER|" Dockerfile
echo "version=$MODSECNGX_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update modsecurity-ngin version to ${{ steps.update.outputs.version }}
branch: update-modsecurity-nginx-version
title: update modsecurity-nginx version to ${{ steps.update.outputs.version }}
body: update modsecurity-nginx version to ${{ steps.update.outputs.version }}
lua-resty-core-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update lua-resty-core version
id: update
run: |
LRC_VER="$(
git ls-remote --tags https://github.com/openresty/lua-resty-core \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1
)"
sed -i "s|ARG LRC_VER=.*|ARG LRC_VER=$LRC_VER|" Dockerfile
echo "version=$LRC_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update nginx version to ${{ steps.update.outputs.version }}
branch: update-lua-resty-core-version
title: update lua-resty-core version to ${{ steps.update.outputs.version }}
body: update lua-resty-core version to ${{ steps.update.outputs.version }}
lua-resty-lrucache-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update lua-resty-lrucache version
id: update
run: |
LRL_VER="$(
git ls-remote --tags https://github.com/openresty/lua-resty-lrucache \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1 \
| sed "s|\^{}||g"
)"
sed -i "s|ARG LRL_VER=.*|ARG LRL_VER=$LRL_VER|" Dockerfile
echo "version=$LRL_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update lua-resty-lrucache version to ${{ steps.update.outputs.version }}
branch: update-lua-resty-lrucache-version
title: update lua-resty-lrucache version to ${{ steps.update.outputs.version }}
body: update lua-resty-lrucache version to ${{ steps.update.outputs.version }}
ngx_http_geoip2_module-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update ngx_http_geoip2_module version
id: update
run: |
NHG2M_VER="$(
git ls-remote --tags https://github.com/leev/ngx_http_geoip2_module \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1
)"
sed -i "s|ARG NHG2M_VER=.*|ARG NHG2M_VER=$NHG2M_VER|" Dockerfile
echo "version=$NHG2M_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update ngx_http_geoip2_module version to ${{ steps.update.outputs.version }}
branch: update-ngx_http_geoip2_module-version
title: update ngx_http_geoip2_module version to ${{ steps.update.outputs.version }}
body: update ngx_http_geoip2_module version to ${{ steps.update.outputs.version }}
nginx-ntlm-module-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update nginx-ntlm-module version
id: update
run: |
NNTLM_VER="$(
git ls-remote --tags https://github.com/gabihodoroaga/nginx-ntlm-module \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| tail -1
)"
sed -i "s|ARG NNTLM_VER=.*|ARG NNTLM_VER=$NNTLM_VER|" Dockerfile
echo "version=$NNTLM_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update nginx-ntlm-module version to ${{ steps.update.outputs.version }}
branch: update-nginx-ntlm-module-version
title: update nginx-ntlm-module version to ${{ steps.update.outputs.version }}
body: update nginx-ntlm-module version to ${{ steps.update.outputs.version }}
liboqs-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update liboqs version
id: update
run: |
LIBOQS_VER="$(
git ls-remote --tags https://github.com/open-quantum-safe/liboqs \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| grep "^v\?[0-9]" \
| tail -1
)"
sed -i "s|ARG LIBOQS_VER=.*|ARG LIBOQS_VER=$LIBOQS_VER|" Dockerfile
echo "version=$LIBOQS_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update liboqs version to ${{ steps.update.outputs.version }}
branch: update-liboqs-version
title: update liboqs version to ${{ steps.update.outputs.version }}
body: update liboqs version to ${{ steps.update.outputs.version }}
oqs-provider-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: update oqs-provider version
id: update
run: |
OQSPROVIDER_VER="$(
git ls-remote --tags https://github.com/open-quantum-safe/oqs-provider \
| cut -d/ -f3 \
| sort -V \
| grep -v rc \
| grep "^v\?[0-9]" \
| tail -1
)"
sed -i "s|ARG OQSPROVIDER_VER=.*|ARG OQSPROVIDER_VER=$OQSPROVIDER_VER|" Dockerfile
echo "version=$OQSPROVIDER_VER" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
delete-branch: true
commit-message: update oqs-provider version to ${{ steps.update.outputs.version }}
branch: update-oqs-provider-version
title: update oqs-provider version to ${{ steps.update.outputs.version }}
body: update oqs-provider version to ${{ steps.update.outputs.version }}