forked from WPMedia/arc-themes-blocks
-
Notifications
You must be signed in to change notification settings - Fork 2
121 lines (120 loc) · 3.74 KB
/
delete-unused-canary-packages.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
name: Delete unused canary packages
on:
push:
branches:
- "canary"
jobs:
clear-packages:
runs-on: ubuntu-latest
steps:
- name: Delete many package oldest canaries pt 1
uses: WPMedia/[email protected]
continue-on-error: true
with:
version-pattern: "canary"
keep: 5
dry-run: false
version-query-order: "first"
# 20 packages max
names: |
global-phrases-block
ads-block
alert-bar-block
article-body-block
alert-bar-content-source-block
article-tag-block
author-bio-block
byline-block
card-list-block
date-block
default-output-block
double-chain-block
extra-large-manual-promo-block
extra-large-promo-block
footer-block
full-author-bio-block
gallery-block
header-block
header-nav-chain-block
headline-block
- name: Delete many package oldest canaries pt 2
uses: WPMedia/[email protected]
continue-on-error: true
with:
version-pattern: "canary"
keep: 5
dry-run: false
version-query-order: "first"
# 20 packages max
names: |
htmlbox-block
large-manual-promo-block
large-promo-block
lead-art-block
links-bar-block
masthead-block
medium-manual-promo-block
medium-promo-block
numbered-list-block
overline-block
quad-chain-block
related-content-content-source-block
results-list-block
right-rail-block
right-rail-advanced-block
search-results-list-block
section-title-block
share-bar-block
shared-styles
simple-list-block
- name: Delete many package oldest canaries pt 3
uses: WPMedia/[email protected]
continue-on-error: true
with:
version-pattern: "canary"
keep: 5
dry-run: false
version-query-order: "first"
# 20 packages max
names: |
single-chain-block
small-manual-promo-block
small-promo-block
subheadline-block
tag-title-block
text-output-block
textfile-block
top-table-list-block
triple-chain-block
video-player-block
video-promo-block
content-api-source-block
collections-content-source-block
author-content-source-block
search-content-source-block
site-hierarchy-content-block
story-feed-author-content-source-block
story-feed-query-content-source-block
story-feed-sections-content-source-block
story-feed-tag-content-source-block
- name: Delete many package oldest canaries pt 4
uses: WPMedia/[email protected]
continue-on-error: true
with:
version-pattern: "canary"
keep: 5
dry-run: false
version-query-order: "first"
# 20 packages max
names: |
tags-content-source-block
unpublished-content-source-block
resizer-image-block
resizer-image-content-source-block
placeholder-image-block
event-tester-block
ad-taboola-bloc
a11y-testing-block
- name: The job has failed, likely due to rate-limiting
if: ${{ failure() }}
run: exit 1