mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Compare commits
808 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
32798b2266 | ||
![]() |
9a04c058bb | ||
![]() |
e400ca0ec8 | ||
![]() |
5d79051f9e | ||
![]() |
d353900ec6 | ||
![]() |
f938022a89 | ||
![]() |
f36b84c7a6 | ||
![]() |
932563efe6 | ||
![]() |
1cefad6ec3 | ||
![]() |
520f881f25 | ||
![]() |
c1c3d1decb | ||
![]() |
d229305964 | ||
![]() |
82ee4e60ab | ||
![]() |
658be2f7c0 | ||
![]() |
a449ab03ac | ||
![]() |
efba98456f | ||
![]() |
613f2a9ef4 | ||
![]() |
2db252424f | ||
![]() |
f28e26fcb2 | ||
![]() |
8fbad50488 | ||
![]() |
7f4e864068 | ||
![]() |
14adf3718a | ||
![]() |
d2167e8777 | ||
![]() |
82fce9c6d6 | ||
![]() |
ba1a03fb43 | ||
![]() |
fe038db00c | ||
![]() |
3b45f1b059 | ||
![]() |
27f13490ff | ||
![]() |
3a5f524b3b | ||
![]() |
ce69956ef2 | ||
![]() |
2d7caecfd4 | ||
![]() |
bef26ce264 | ||
![]() |
aaf3545227 | ||
![]() |
b3bcd8de13 | ||
![]() |
85228cdda9 | ||
![]() |
7e1d8d9ff3 | ||
![]() |
fe89084400 | ||
![]() |
965b6cd141 | ||
![]() |
514b496b62 | ||
![]() |
1d33260d82 | ||
![]() |
44e6c9a7a9 | ||
![]() |
2d945e69fa | ||
![]() |
26abdd72b6 | ||
![]() |
d6c1f51afd | ||
![]() |
27149ac8f4 | ||
![]() |
7e6b6a1303 | ||
![]() |
e7167cd879 | ||
![]() |
09c434097e | ||
![]() |
103d846561 | ||
![]() |
f9789de67b | ||
![]() |
7b3efa1ae4 | ||
![]() |
a7e67ad588 | ||
![]() |
1bd7d17f49 | ||
![]() |
9a6b02d3b6 | ||
![]() |
8f0dd01d11 | ||
![]() |
e1db24bc38 | ||
![]() |
195e4ede61 | ||
![]() |
4150064c29 | ||
![]() |
c31779ccc1 | ||
![]() |
2e715d5bdb | ||
![]() |
6ca1d98b25 | ||
![]() |
e8f85abca2 | ||
![]() |
771282b241 | ||
![]() |
b597dfb036 | ||
![]() |
be06eb0c3b | ||
![]() |
7fd6a0d2ce | ||
![]() |
dae786c139 | ||
![]() |
124367347e | ||
![]() |
8d2c049d03 | ||
![]() |
230ad376e6 | ||
![]() |
d7f3af5b4a | ||
![]() |
e584617c2e | ||
![]() |
10dcc55b32 | ||
![]() |
635194089f | ||
![]() |
862f59e266 | ||
![]() |
2a77671e30 | ||
![]() |
ffc96370c9 | ||
![]() |
45a8fbefbd | ||
![]() |
12b7d188e6 | ||
![]() |
9a1de3d80d | ||
![]() |
1c10803f16 | ||
![]() |
7f5774d136 | ||
![]() |
040aab5d2f | ||
![]() |
e672ffd959 | ||
![]() |
1790a8c8a7 | ||
![]() |
23a802284e | ||
![]() |
110e93cc3a | ||
![]() |
669f4093d2 | ||
![]() |
b075b9582b | ||
![]() |
9ba8da9604 | ||
![]() |
a48216b129 | ||
![]() |
28c587120d | ||
![]() |
69e7d85e58 | ||
![]() |
b11ba7443f | ||
![]() |
7bc42cbb46 | ||
![]() |
95c4b88b14 | ||
![]() |
13e56f0369 | ||
![]() |
c7cb687da2 | ||
![]() |
320254f582 | ||
![]() |
cace666ad9 | ||
![]() |
e4f80fe9d5 | ||
![]() |
156bcdfbf5 | ||
![]() |
9f70ae0949 | ||
![]() |
1d19061dff | ||
![]() |
e03878996b | ||
![]() |
314d58080e | ||
![]() |
205ecb8411 | ||
![]() |
b3e4e14646 | ||
![]() |
f5df948c7c | ||
![]() |
cb195c88b4 | ||
![]() |
1b5e308294 | ||
![]() |
7ee7b07a59 | ||
![]() |
57159c4154 | ||
![]() |
318cc4550e | ||
![]() |
2a55796e1e | ||
![]() |
11faa5bcd9 | ||
![]() |
080de394ad | ||
![]() |
04270e55c3 | ||
![]() |
e9bd047681 | ||
![]() |
b52a6ba62c | ||
![]() |
4583f3068a | ||
![]() |
603f8a294e | ||
![]() |
7a0e9009ca | ||
![]() |
027846530d | ||
![]() |
20d9000b37 | ||
![]() |
c918e93e6c | ||
![]() |
526e0bcf3f | ||
![]() |
3efec7d738 | ||
![]() |
b772dde15d | ||
![]() |
3a4ea8fe06 | ||
![]() |
7608d8bd68 | ||
![]() |
534653b227 | ||
![]() |
99c806b261 | ||
![]() |
026fa353bf | ||
![]() |
6f87fdf07c | ||
![]() |
6fa5c816c1 | ||
![]() |
a859391e05 | ||
![]() |
86e22cb1d7 | ||
![]() |
a06d7f7259 | ||
![]() |
8e55874a72 | ||
![]() |
47c52395a8 | ||
![]() |
d3fc5f7500 | ||
![]() |
b7fec8206a | ||
![]() |
13adcfdc61 | ||
![]() |
98a19de3dd | ||
![]() |
7238ff4875 | ||
![]() |
e1c6def123 | ||
![]() |
a3fff9678b | ||
![]() |
c46fec8a8d | ||
![]() |
ed483454cf | ||
![]() |
a0431eb84c | ||
![]() |
0f8131e1da | ||
![]() |
44b1e46858 | ||
![]() |
6358aa89d3 | ||
![]() |
f05994f00a | ||
![]() |
ca2778e720 | ||
![]() |
358eaba0a7 | ||
![]() |
c492b302a4 | ||
![]() |
f95aa0a8b2 | ||
![]() |
42c5d885a3 | ||
![]() |
fc7290f5bc | ||
![]() |
bac04ccd27 | ||
![]() |
0f475e0cbe | ||
![]() |
265f806c46 | ||
![]() |
0d2fb73723 | ||
![]() |
aedee2d3a6 | ||
![]() |
94646ef275 | ||
![]() |
ac6ee7a460 | ||
![]() |
ab67756d82 | ||
![]() |
d45f581df0 | ||
![]() |
6ca8806109 | ||
![]() |
88cf81de7f | ||
![]() |
4fb519d95d | ||
![]() |
d9eb79f4e7 | ||
![]() |
c2d36bfd1e | ||
![]() |
da72ca7ff3 | ||
![]() |
b49be184ba | ||
![]() |
a92d3f665e | ||
![]() |
75d02ca14c | ||
![]() |
bc0c064c15 | ||
![]() |
c39a79df11 | ||
![]() |
ed1dd41edc | ||
![]() |
eba46372c0 | ||
![]() |
cc62037c42 | ||
![]() |
7c299eb22f | ||
![]() |
93c469b601 | ||
![]() |
cc6411a227 | ||
![]() |
e166d475e7 | ||
![]() |
8495a16773 | ||
![]() |
859c43472b | ||
![]() |
b9529d4905 | ||
![]() |
613ee9b800 | ||
![]() |
1c741b4b40 | ||
![]() |
1f31efcfd1 | ||
![]() |
f24d748f8b | ||
![]() |
1c68030a6d | ||
![]() |
b98e0b6fd9 | ||
![]() |
dc6a6da104 | ||
![]() |
972c53f82b | ||
![]() |
19d222fca0 | ||
![]() |
ce9385103d | ||
![]() |
6871f53176 | ||
![]() |
fd631fd13a | ||
![]() |
b08a65ca3d | ||
![]() |
7a67835b20 | ||
![]() |
daaa308649 | ||
![]() |
d7e1c12a13 | ||
![]() |
e6d7f60b99 | ||
![]() |
331c645bc0 | ||
![]() |
1dd881b935 | ||
![]() |
6a429934f4 | ||
![]() |
2fc8b99e01 | ||
![]() |
df61b49715 | ||
![]() |
3480893ae4 | ||
![]() |
133b286869 | ||
![]() |
ce11ce0f73 | ||
![]() |
cf62a9f761 | ||
![]() |
6b29454859 | ||
![]() |
d412a8b9be | ||
![]() |
aebb456ae8 | ||
![]() |
f78faabb03 | ||
![]() |
6c999acf20 | ||
![]() |
726fe9ba5e | ||
![]() |
4923d1ca41 | ||
![]() |
d1dce85278 | ||
![]() |
6a7e02263c | ||
![]() |
610e980330 | ||
![]() |
73b5e05c85 | ||
![]() |
c73f478233 | ||
![]() |
43f1d995a1 | ||
![]() |
d2fdfdc076 | ||
![]() |
564ba51f1b | ||
![]() |
00f78f37b0 | ||
![]() |
af65b43bdc | ||
![]() |
ba3c7653e7 | ||
![]() |
93d729b69b | ||
![]() |
baaf5cdbe2 | ||
![]() |
78a040adc7 | ||
![]() |
d275988a8e | ||
![]() |
616936ff33 | ||
![]() |
61a1557cd0 | ||
![]() |
8a998b1518 | ||
![]() |
22d5ce483b | ||
![]() |
f949501dd5 | ||
![]() |
ab304d8562 | ||
![]() |
3cd6ba9145 | ||
![]() |
8b433953b8 | ||
![]() |
30b83fe1bc | ||
![]() |
aa82489df0 | ||
![]() |
38100de122 | ||
![]() |
898d31f1c4 | ||
![]() |
5e4b161118 | ||
![]() |
089be91d06 | ||
![]() |
22372c24f1 | ||
![]() |
30360a8409 | ||
![]() |
19657bbaed | ||
![]() |
cffa63d82e | ||
![]() |
38fb177cdf | ||
![]() |
2afc72cf66 | ||
![]() |
033f2358d9 | ||
![]() |
b7525e0e03 | ||
![]() |
2f53fbbb51 | ||
![]() |
790ddd8af0 | ||
![]() |
f7cfbc8ede | ||
![]() |
8a9c9111a9 | ||
![]() |
ce4e6234e4 | ||
![]() |
1c8d9d18f0 | ||
![]() |
8f6b6b05c3 | ||
![]() |
77641da3eb | ||
![]() |
309671a59e | ||
![]() |
5f947380b9 | ||
![]() |
120d68d4a8 | ||
![]() |
65d352f959 | ||
![]() |
83616e3687 | ||
![]() |
40695cf61e | ||
![]() |
6e30a1961f | ||
![]() |
468d8a888b | ||
![]() |
a22501ea9b | ||
![]() |
636cfe47b2 | ||
![]() |
f25b4691b3 | ||
![]() |
172649b1ec | ||
![]() |
24d02d8974 | ||
![]() |
f32c283d49 | ||
![]() |
8def4deb23 | ||
![]() |
826adf145b | ||
![]() |
ba4eea6a65 | ||
![]() |
609e2ab20e | ||
![]() |
8b7f8ee18d | ||
![]() |
4e53239236 | ||
![]() |
02441bb240 | ||
![]() |
e6d6c8af35 | ||
![]() |
d26e039a33 | ||
![]() |
604fda4f42 | ||
![]() |
d53a4f56f3 | ||
![]() |
1eb24dd344 | ||
![]() |
eebd24b22a | ||
![]() |
0f4c59d1b2 | ||
![]() |
e66b8b3a13 | ||
![]() |
ac6eccffb5 | ||
![]() |
8b68b1bd74 | ||
![]() |
bb14d13758 | ||
![]() |
a1dc20f6c6 | ||
![]() |
9ea7463b1e | ||
![]() |
1f1febb8cc | ||
![]() |
118446dbc7 | ||
![]() |
2e5354c673 | ||
![]() |
e2651ff067 | ||
![]() |
b6feb6a083 | ||
![]() |
d15513d4d2 | ||
![]() |
264046fabe | ||
![]() |
2fa767d57c | ||
![]() |
3a37e2e081 | ||
![]() |
912426fd60 | ||
![]() |
01ae02bd05 | ||
![]() |
0a1d1b4134 | ||
![]() |
7fccbdaba2 | ||
![]() |
688b2321e6 | ||
![]() |
fa17af9a1e | ||
![]() |
d32989076a | ||
![]() |
3194a61818 | ||
![]() |
64a7d5f186 | ||
![]() |
a58fea07aa | ||
![]() |
c42f04b23a | ||
![]() |
2cd51ebef2 | ||
![]() |
c3832dc226 | ||
![]() |
4f1725aa43 | ||
![]() |
ba307d2201 | ||
![]() |
d582bca6ee | ||
![]() |
6d86e5894d | ||
![]() |
d2f6738675 | ||
![]() |
c3deeec36a | ||
![]() |
fcc3a618f3 | ||
![]() |
157afbc1b7 | ||
![]() |
cc3435d210 | ||
![]() |
e95048ae4f | ||
![]() |
b069021bd9 | ||
![]() |
e7f4386e97 | ||
![]() |
eee8675bd6 | ||
![]() |
f48100e6bf | ||
![]() |
d1db4d231e | ||
![]() |
996bfd1bdc | ||
![]() |
4a3aec216e | ||
![]() |
74cff8ba15 | ||
![]() |
231653b109 | ||
![]() |
990f206fa6 | ||
![]() |
d2f6983dea | ||
![]() |
e546ac834c | ||
![]() |
42fb38ec5f | ||
![]() |
e8b6406406 | ||
![]() |
460ce1b0b1 | ||
![]() |
7ea7f0b01d | ||
![]() |
a93e660cf7 | ||
![]() |
aacf738f2d | ||
![]() |
67141c68ed | ||
![]() |
845631cecf | ||
![]() |
33a039d985 | ||
![]() |
74e75df400 | ||
![]() |
c8edd21974 | ||
![]() |
813edb103e | ||
![]() |
cb77040118 | ||
![]() |
caf6589e51 | ||
![]() |
660c9acfe9 | ||
![]() |
3d4dc12e73 | ||
![]() |
311807f0be | ||
![]() |
a594c1e96e | ||
![]() |
d52ac2b655 | ||
![]() |
384f41b675 | ||
![]() |
d1f23ada69 | ||
![]() |
f41e4b666d | ||
![]() |
c698603a7d | ||
![]() |
38648061b6 | ||
![]() |
1de060a065 | ||
![]() |
8c6e50b75a | ||
![]() |
88ff66ccc6 | ||
![]() |
a43a88b852 | ||
![]() |
648767beae | ||
![]() |
43516789b5 | ||
![]() |
6ae332ea89 | ||
![]() |
443feb2c7c | ||
![]() |
328fb7a2cf | ||
![]() |
228b00f519 | ||
![]() |
566db7b0b9 | ||
![]() |
634e94e48a | ||
![]() |
4b5b6ae1f4 | ||
![]() |
c8647c6f17 | ||
![]() |
e100d1e26f | ||
![]() |
ae93456d96 | ||
![]() |
13bcdca332 | ||
![]() |
877cc1bcd3 | ||
![]() |
a5e5e08a4b | ||
![]() |
b90df97be1 | ||
![]() |
6b3b5519e2 | ||
![]() |
bdf21ace47 | ||
![]() |
f014e08ed4 | ||
![]() |
6a72b39d1c | ||
![]() |
3fcd82717d | ||
![]() |
93968fdcda | ||
![]() |
b5fee667e4 | ||
![]() |
96c7c76c71 | ||
![]() |
4ba1a0e3f3 | ||
![]() |
d040a36de2 | ||
![]() |
efa7568738 | ||
![]() |
09ab611309 | ||
![]() |
013cea7cfb | ||
![]() |
ddbcffc0a2 | ||
![]() |
aef11496bc | ||
![]() |
7fa5d956e2 | ||
![]() |
9a29220d18 | ||
![]() |
386bd5f8fd | ||
![]() |
e8b55f1726 | ||
![]() |
a20342efd7 | ||
![]() |
78c69c4b06 | ||
![]() |
930679fcaa | ||
![]() |
1b9aa17d80 | ||
![]() |
9f8e2c03c2 | ||
![]() |
b1d905ca7a | ||
![]() |
f7a6f2ea2c | ||
![]() |
1eba28339d | ||
![]() |
07dc82afe3 | ||
![]() |
8de3582899 | ||
![]() |
9920a39ca8 | ||
![]() |
a787f0ff71 | ||
![]() |
8b3e6ca1d7 | ||
![]() |
0a8da5930a | ||
![]() |
fe2afbf4a7 | ||
![]() |
d20ffeba9d | ||
![]() |
cbb14ec8b3 | ||
![]() |
46f4cba4a9 | ||
![]() |
a4ea8fa07e | ||
![]() |
63b65253bc | ||
![]() |
6866f6261d | ||
![]() |
a95070d40f | ||
![]() |
c46020ff47 | ||
![]() |
a704b89383 | ||
![]() |
6f52001f9b | ||
![]() |
9a84c5671b | ||
![]() |
f9da7d9fa9 | ||
![]() |
44f3403515 | ||
![]() |
c4027f2e9e | ||
![]() |
f38ef5727f | ||
![]() |
e6839143f8 | ||
![]() |
8cbf4b99e2 | ||
![]() |
d7a98ead82 | ||
![]() |
07266885f9 | ||
![]() |
b0f914ba0e | ||
![]() |
4cea672423 | ||
![]() |
b2143532a7 | ||
![]() |
8c8cf64b10 | ||
![]() |
e0e3be64a3 | ||
![]() |
472f6cbfd6 | ||
![]() |
2d7c6e9658 | ||
![]() |
219d84e7fd | ||
![]() |
187e84c5ec | ||
![]() |
974dd3ae32 | ||
![]() |
816787f44b | ||
![]() |
98378af77f | ||
![]() |
ffb027610d | ||
![]() |
b1f88232c1 | ||
![]() |
3b15573b12 | ||
![]() |
270fccc104 | ||
![]() |
13188a77d3 | ||
![]() |
7f3ab6b1a7 | ||
![]() |
bf9c80373e | ||
![]() |
28ca21f9e4 | ||
![]() |
7e2629b803 | ||
![]() |
b58d452080 | ||
![]() |
27b1c7918b | ||
![]() |
9ac6e446ab | ||
![]() |
9eff6aa5d1 | ||
![]() |
f3d66a1350 | ||
![]() |
e50a5dd0c9 | ||
![]() |
fb33cc7aed | ||
![]() |
bae199839f | ||
![]() |
6c7a24bb35 | ||
![]() |
ec7aeeaf80 | ||
![]() |
333e45a5f0 | ||
![]() |
2fe7201bf9 | ||
![]() |
bc1ca43300 | ||
![]() |
6de8a96658 | ||
![]() |
9dfb007996 | ||
![]() |
76de264c86 | ||
![]() |
9cd06d955f | ||
![]() |
180df11d20 | ||
![]() |
626e059dc2 | ||
![]() |
75a3264ae9 | ||
![]() |
2cb015dbf6 | ||
![]() |
5225f98969 | ||
![]() |
af5fb3398b | ||
![]() |
9eb547a602 | ||
![]() |
e81d53916c | ||
![]() |
9bc7d378ef | ||
![]() |
13e4b73235 | ||
![]() |
75f887e27a | ||
![]() |
2e11772ece | ||
![]() |
617f71997d | ||
![]() |
e1eabf0536 | ||
![]() |
4b89c81519 | ||
![]() |
ddd733ff5a | ||
![]() |
12c4cfe20c | ||
![]() |
ddf3e58349 | ||
![]() |
f22aaf41de | ||
![]() |
21495c4dcb | ||
![]() |
e923d4b166 | ||
![]() |
b2fe8e0317 | ||
![]() |
30e5fb0ae0 | ||
![]() |
6583ff7de9 | ||
![]() |
0a388268a4 | ||
![]() |
8dba02380f | ||
![]() |
c097bdda2d | ||
![]() |
d9ae8fd256 | ||
![]() |
b090011659 | ||
![]() |
22f7c011a6 | ||
![]() |
3b0b8890ff | ||
![]() |
b9b1a6a56d | ||
![]() |
9e6719abf2 | ||
![]() |
6862cd7888 | ||
![]() |
b8055111f8 | ||
![]() |
e76f8d4d38 | ||
![]() |
7f0a69aa8e | ||
![]() |
b97d3ced88 | ||
![]() |
504346f678 | ||
![]() |
3726b99468 | ||
![]() |
b99758d88d | ||
![]() |
cf20893a11 | ||
![]() |
b45b3f47f1 | ||
![]() |
222350cece | ||
![]() |
bb6f16853f | ||
![]() |
505368ed17 | ||
![]() |
c49dc98fff | ||
![]() |
3244499414 | ||
![]() |
9d21856576 | ||
![]() |
34357ebf3f | ||
![]() |
251b571f77 | ||
![]() |
598610d359 | ||
![]() |
209ff64736 | ||
![]() |
253cf6adb8 | ||
![]() |
a770b3035b | ||
![]() |
0f8f1e4ffb | ||
![]() |
0d6b73113f | ||
![]() |
aa880cc023 | ||
![]() |
e2b1d34704 | ||
![]() |
5defca261e | ||
![]() |
4baa6ccae9 | ||
![]() |
6508dcdec4 | ||
![]() |
d2c883f007 | ||
![]() |
1abc2711cd | ||
![]() |
174fc8e166 | ||
![]() |
dc2e78ac92 | ||
![]() |
6595bb97b3 | ||
![]() |
40efc93c59 | ||
![]() |
e953e6d054 | ||
![]() |
f016196e4a | ||
![]() |
fb5373bcf9 | ||
![]() |
b442db3234 | ||
![]() |
0bd39cdb26 | ||
![]() |
d2fb4cabad | ||
![]() |
a439502f58 | ||
![]() |
8f2716c5d1 | ||
![]() |
0e1a5f287c | ||
![]() |
6e6d0ab15b | ||
![]() |
ec1356ad57 | ||
![]() |
d7556ea4f6 | ||
![]() |
f10b5ee334 | ||
![]() |
12c1d47529 | ||
![]() |
a3e92dfc8f | ||
![]() |
8ad5a53948 | ||
![]() |
c9001d082f | ||
![]() |
d35bf482a4 | ||
![]() |
c43d5b9cda | ||
![]() |
f3dbd2f628 | ||
![]() |
5ced4fd6c2 | ||
![]() |
2840c25574 | ||
![]() |
5714e1e5f5 | ||
![]() |
d5a16ec60a | ||
![]() |
05c34615d2 | ||
![]() |
0dab036eaa | ||
![]() |
c4b7a519d9 | ||
![]() |
af5c6741e6 | ||
![]() |
bfedfbd4fc | ||
![]() |
92b92e360c | ||
![]() |
28a6a95bc5 | ||
![]() |
2281f174e1 | ||
![]() |
634215d4a5 | ||
![]() |
8a5ca22905 | ||
![]() |
b0fc3aebc2 | ||
![]() |
bc3dc5375a | ||
![]() |
dbf8b5b8ee | ||
![]() |
65c32fcd52 | ||
![]() |
32ed4d7bf2 | ||
![]() |
78cadc118e | ||
![]() |
3904ea5849 | ||
![]() |
a79795077e | ||
![]() |
4a651f7f2e | ||
![]() |
56d62346b9 | ||
![]() |
1d142f018b | ||
![]() |
fd87626ee1 | ||
![]() |
a90323937f | ||
![]() |
34a3674a67 | ||
![]() |
bb0f1582ed | ||
![]() |
572fe465fd | ||
![]() |
8312ff3cb7 | ||
![]() |
1d221bb9b9 | ||
![]() |
c72f85696a | ||
![]() |
fb0b29a48f | ||
![]() |
76d464633d | ||
![]() |
12119e483b | ||
![]() |
740e6590b2 | ||
![]() |
a093cd653f | ||
![]() |
22406a5f5e | ||
![]() |
6eb68d6d75 | ||
![]() |
962fee1fb6 | ||
![]() |
4200c23777 | ||
![]() |
923f371b75 | ||
![]() |
0f9fd9892f | ||
![]() |
0a36c936ed | ||
![]() |
ccd4856632 | ||
![]() |
0930cd56df | ||
![]() |
489464ea28 | ||
![]() |
8b80d7de2c | ||
![]() |
1ccd24eb1f | ||
![]() |
22528fc064 | ||
![]() |
fff6b5690c | ||
![]() |
013d879971 | ||
![]() |
fe291558bc | ||
![]() |
a0061fbc59 | ||
![]() |
9cf5f585c6 | ||
![]() |
11322fca91 | ||
![]() |
ce1737e426 | ||
![]() |
2323263ff8 | ||
![]() |
a6349ed704 | ||
![]() |
02867b4776 | ||
![]() |
10eaff409c | ||
![]() |
998b9d1f5f | ||
![]() |
536fb9435c | ||
![]() |
1d114f52ce | ||
![]() |
4900f29fbd | ||
![]() |
c1248d0ca9 | ||
![]() |
7c06893062 | ||
![]() |
42c7e256cd | ||
![]() |
d2d681cfc4 | ||
![]() |
ccc9594279 | ||
![]() |
7d7b706f44 | ||
![]() |
1dca174b24 | ||
![]() |
b2f7d2f3c5 | ||
![]() |
67ffeeeeb5 | ||
![]() |
53128ab92f | ||
![]() |
e4c5e05263 | ||
![]() |
340dacc06c | ||
![]() |
8c5d04cd56 | ||
![]() |
220d0f26b7 | ||
![]() |
64a68dc774 | ||
![]() |
9bc993e811 | ||
![]() |
3b890904a8 | ||
![]() |
c24a35db3d | ||
![]() |
0d429b0086 | ||
![]() |
16e948dee6 | ||
![]() |
bf67e44c59 | ||
![]() |
b013d7e962 | ||
![]() |
9a0648bde3 | ||
![]() |
26d836b90c | ||
![]() |
47910e4833 | ||
![]() |
b7da9be31b | ||
![]() |
be4aeac2bf | ||
![]() |
0183e3b25c | ||
![]() |
d25195875f | ||
![]() |
57ad138167 | ||
![]() |
f0af0e4de5 | ||
![]() |
d71d3e75cf | ||
![]() |
6f85513074 | ||
![]() |
83d2546e09 | ||
![]() |
aade1a7139 | ||
![]() |
58eb8e87cf | ||
![]() |
f107226331 | ||
![]() |
032d60a537 | ||
![]() |
674ea6ee5e | ||
![]() |
653ab74a8a | ||
![]() |
a9ebb75435 | ||
![]() |
156e33c8e9 | ||
![]() |
68a695f511 | ||
![]() |
d3a7681c09 | ||
![]() |
2b805184b9 | ||
![]() |
98c04d51ee | ||
![]() |
0b349276a0 | ||
![]() |
1f12f147bf | ||
![]() |
e42da51ef7 | ||
![]() |
2eee738676 | ||
![]() |
3ff324d273 | ||
![]() |
aa5d3c6ca9 | ||
![]() |
7d68c6429c | ||
![]() |
b103765924 | ||
![]() |
636880db67 | ||
![]() |
250b2c70c9 | ||
![]() |
0d8916fb0c | ||
![]() |
77b05d2df8 | ||
![]() |
92c378b826 | ||
![]() |
acff746cfe | ||
![]() |
053ea94331 | ||
![]() |
ce1768fcb7 | ||
![]() |
79643a47f7 | ||
![]() |
e8cf784211 | ||
![]() |
71a854d273 | ||
![]() |
fc2955dd61 | ||
![]() |
9f7eca84b0 | ||
![]() |
ec750d494c | ||
![]() |
504f338ea8 | ||
![]() |
8f0fb44e37 | ||
![]() |
055227d872 | ||
![]() |
c5d763e5b0 | ||
![]() |
3e0215fc2d | ||
![]() |
985406edb0 | ||
![]() |
ebe618e79a | ||
![]() |
0960d86228 | ||
![]() |
b587231a9a | ||
![]() |
cedb820571 | ||
![]() |
dd9939e996 | ||
![]() |
85b1d219ec | ||
![]() |
51ad4ae3fb | ||
![]() |
dc0e9c2851 | ||
![]() |
509c3124ab | ||
![]() |
9feb728ef3 | ||
![]() |
8ea77410ba | ||
![]() |
76aefa7f40 | ||
![]() |
91ac570b9d | ||
![]() |
14bab64a11 | ||
![]() |
ae7cf1163a | ||
![]() |
17ffb53226 | ||
![]() |
1fcdaff272 | ||
![]() |
5a0bb26204 | ||
![]() |
8a263a0bad | ||
![]() |
104e14c3a7 | ||
![]() |
1bd8ecd828 | ||
![]() |
a74813a54c | ||
![]() |
56f856e319 | ||
![]() |
eb14b2dffd | ||
![]() |
8623f4f829 | ||
![]() |
d6a3f7aeb3 | ||
![]() |
fdb3a42221 | ||
![]() |
e20a6f0a3b | ||
![]() |
15b5e1609f | ||
![]() |
dcd6890824 | ||
![]() |
592194ab12 | ||
![]() |
49198f5e8f | ||
![]() |
f328c2180a | ||
![]() |
4339d767e7 | ||
![]() |
48b38c29b8 | ||
![]() |
ab59595b4d | ||
![]() |
120920693c | ||
![]() |
1d3da85be4 | ||
![]() |
d44e56ea11 | ||
![]() |
9c439d206c | ||
![]() |
961d0ac841 | ||
![]() |
f1890e6baf | ||
![]() |
0e82e253a4 | ||
![]() |
730c63dc59 | ||
![]() |
83b7611c90 | ||
![]() |
985a1b94d9 | ||
![]() |
00d6c39d41 | ||
![]() |
c398d2e19f | ||
![]() |
8be0535acb | ||
![]() |
2a0ddae183 | ||
![]() |
284d1d1509 | ||
![]() |
0397d31b09 | ||
![]() |
e4ab13f95c | ||
![]() |
d8901557b4 | ||
![]() |
1bed57bf19 | ||
![]() |
6b8dfeeb71 | ||
![]() |
7339591b43 | ||
![]() |
b50518e8bc | ||
![]() |
3bd4c88eca | ||
![]() |
cece0f80f9 | ||
![]() |
4362da7333 | ||
![]() |
9fb91e1edc | ||
![]() |
41b3911fe1 | ||
![]() |
0260390a17 | ||
![]() |
615433a5a2 | ||
![]() |
f8e9fb3c65 | ||
![]() |
6ec54a987b | ||
![]() |
fd094405d4 | ||
![]() |
7f0ba5c8c3 | ||
![]() |
0619e2257d | ||
![]() |
0ec4c0c2f9 | ||
![]() |
ff26f78e3b | ||
![]() |
520e5aadb3 | ||
![]() |
90379ab59c | ||
![]() |
69d598ec92 | ||
![]() |
d4d59f1f03 | ||
![]() |
83b3f1a655 | ||
![]() |
8f5a2419fb | ||
![]() |
96afe22ccf | ||
![]() |
8c72ffde4d | ||
![]() |
93fe339d55 | ||
![]() |
65870752db | ||
![]() |
b15a02d62e | ||
![]() |
cef10ce0a6 | ||
![]() |
4c482f9295 | ||
![]() |
014f8d1470 | ||
![]() |
2f4cdf3470 | ||
![]() |
7b704c18dc | ||
![]() |
b7e207141f | ||
![]() |
bd09bab9c3 | ||
![]() |
796c67a499 | ||
![]() |
947917ad6a | ||
![]() |
a3164f5259 | ||
![]() |
39b955e7b1 | ||
![]() |
d521565461 | ||
![]() |
240844e3f6 | ||
![]() |
2255d62609 | ||
![]() |
5ead45c037 |
44
.all-contributorsrc
Normal file
44
.all-contributorsrc
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"files": [
|
||||
"README.md"
|
||||
],
|
||||
"imageSize": 100,
|
||||
"commit": false,
|
||||
"contributors": [
|
||||
{
|
||||
"login": "loarca",
|
||||
"name": "Alejandro Loarca",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/22898638?v=4",
|
||||
"profile": "https://github.com/loarca",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "IanWoodard",
|
||||
"name": "Ian Woodard",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/17186604?v=4",
|
||||
"profile": "https://ianwoodard.me",
|
||||
"contributions": [
|
||||
"doc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "boidolr",
|
||||
"name": "Raphael Boidol",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/652404?v=4",
|
||||
"profile": "https://home.boidol.dev/",
|
||||
"contributions": [
|
||||
"doc"
|
||||
]
|
||||
}
|
||||
],
|
||||
"contributorsPerLine": 7,
|
||||
"projectName": "branch-names",
|
||||
"projectOwner": "tj-actions",
|
||||
"repoType": "github",
|
||||
"repoHost": "https://github.com",
|
||||
"skipCi": true,
|
||||
"commitType": "docs",
|
||||
"commitConvention": "angular"
|
||||
}
|
10
.github/ISSUE_TEMPLATE.md
vendored
10
.github/ISSUE_TEMPLATE.md
vendored
@ -1,10 +0,0 @@
|
||||
* branch-name:
|
||||
|
||||
### Description
|
||||
|
||||
Describe what you were trying to get done.
|
||||
Tell us what happened, what went wrong, and what you expected to happen.
|
||||
|
||||
### What I Did
|
||||
|
||||
Add some details about your workflow ?
|
9
.github/dependabot.yml
vendored
Normal file
9
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: github-actions
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
open-pull-requests-limit: 10
|
||||
labels:
|
||||
- "merge when passing"
|
56
.github/workflows/codacy-analysis.yml
vendored
Normal file
56
.github/workflows/codacy-analysis.yml
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
# This workflow checks out code, performs a Codacy security scan
|
||||
# and integrates the results with the
|
||||
# GitHub Advanced Security code scanning feature. For more information on
|
||||
# the Codacy security scan action usage and parameters, see
|
||||
# https://github.com/codacy/codacy-analysis-cli-action.
|
||||
# For more information on Codacy Analysis CLI in general, see
|
||||
# https://github.com/codacy/codacy-analysis-cli.
|
||||
|
||||
name: Codacy Security Scan
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ main ]
|
||||
schedule:
|
||||
- cron: '15 16 * * 2'
|
||||
|
||||
jobs:
|
||||
codacy-security-scan:
|
||||
# Cancel other workflows that are running for the same branch
|
||||
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
name: Codacy Security Scan
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checkout the repository to the GitHub Actions runner
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
|
||||
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
|
||||
- name: Run Codacy Analysis CLI
|
||||
continue-on-error: true
|
||||
uses: codacy/codacy-analysis-cli-action@v4.4.5
|
||||
with:
|
||||
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
|
||||
# You can also omit the token and run the tools that support default configurations
|
||||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
verbose: true
|
||||
output: results.sarif
|
||||
format: sarif
|
||||
# Adjust severity of non-security issues
|
||||
gh-code-scanning-compat: true
|
||||
# Force 0 exit code to allow SARIF file generation
|
||||
# This will hand over control about PR rejection to the GitHub side
|
||||
max-allowed-issues: 2147483647
|
||||
|
||||
# Upload the SARIF file generated in the previous step
|
||||
- name: Upload SARIF results file
|
||||
continue-on-error: true
|
||||
uses: github/codeql-action/upload-sarif@v3
|
||||
with:
|
||||
sarif_file: results.sarif
|
18
.github/workflows/rebase.yml
vendored
Normal file
18
.github/workflows/rebase.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: Automatic Rebase
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
jobs:
|
||||
rebase:
|
||||
name: Rebase
|
||||
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
token: ${{ secrets.PAT_TOKEN }}
|
||||
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
|
||||
- name: Automatic Rebase
|
||||
uses: cirrus-actions/rebase@1.8
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
35
.github/workflows/sync-release-version.yml
vendored
Normal file
35
.github/workflows/sync-release-version.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
name: Update release version.
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
|
||||
jobs:
|
||||
update-version:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Run release-tagger
|
||||
uses: tj-actions/release-tagger@v4
|
||||
- name: Sync release version.
|
||||
uses: tj-actions/sync-release-version@v13
|
||||
id: sync-release-version
|
||||
with:
|
||||
pattern: '${{ github.repository }}@'
|
||||
only_major: true
|
||||
paths: |
|
||||
README.md
|
||||
- name: Run git-cliff
|
||||
uses: tj-actions/git-cliff@v1
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
with:
|
||||
base: "main"
|
||||
labels: "merge when passing"
|
||||
title: "Upgraded to ${{ steps.sync-release-version.outputs.new_version }}"
|
||||
branch: "upgrade-to-${{ steps.sync-release-version.outputs.new_version }}"
|
||||
commit-message: "Upgraded from ${{ steps.sync-release-version.outputs.old_version }} -> ${{ steps.sync-release-version.outputs.new_version }}"
|
||||
body: "View [CHANGES](https://github.com/${{ github.repository }}/compare/${{ steps.sync-release-version.outputs.old_version }}...${{ steps.sync-release-version.outputs.new_version }})"
|
||||
token: ${{ secrets.PAT_TOKEN }}
|
80
.github/workflows/test.yml
vendored
80
.github/workflows/test.yml
vendored
@ -2,39 +2,87 @@ name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
branches:
|
||||
- main
|
||||
release:
|
||||
types: [published, created]
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
name: Test branch-name
|
||||
name: Test branch-names
|
||||
runs-on: ${{ matrix.platform }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [ubuntu-latest, windows-latest, macos-latest]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Dump GitHub context
|
||||
env:
|
||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
run: echo "$GITHUB_CONTEXT"
|
||||
- name: Run test
|
||||
id: branch-name
|
||||
id: branch-names
|
||||
uses: ./
|
||||
- name: Show output
|
||||
run: |
|
||||
echo "${{ steps.branch-name.outputs.base_ref_branch }}"
|
||||
echo "${{ steps.branch-name.outputs.head_ref_branch }}"
|
||||
echo "${{ steps.branch-name.outputs.ref_branch }}"
|
||||
- name: Test base ref output
|
||||
if: github.event_name == 'pull_request' && !steps.branch-name.outputs.base_ref_branch
|
||||
echo "Default Branch: ${{ steps.branch-names.outputs.default_branch }}"
|
||||
echo "Current Branch: ${{ steps.branch-names.outputs.current_branch }}"
|
||||
echo "Base Ref: ${{ steps.branch-names.outputs.base_ref_branch }}"
|
||||
echo "Head Ref: ${{ steps.branch-names.outputs.head_ref_branch }}"
|
||||
echo "Ref: ${{ steps.branch-names.outputs.ref_branch }}"
|
||||
echo "Is Default: ${{ steps.branch-names.outputs.is_default }}"
|
||||
echo "Is Tag: ${{ steps.branch-names.outputs.is_tag }}"
|
||||
echo "Current tag: ${{ steps.branch-names.outputs.tag }}"
|
||||
- name: Test is_default output for pull request
|
||||
if: contains(github.event_name, 'pull_request') && steps.branch-names.outputs.is_tag == 'false' && steps.branch-names.outputs.is_default != 'false'
|
||||
run: |
|
||||
echo "Base ref unset: ${{ steps.branch-name.outputs.base_ref_branch }}"
|
||||
echo "Is default is invalid: ${{ steps.branch-names.outputs.is_default }}"
|
||||
exit 1
|
||||
- name: Test head ref output
|
||||
if: github.event_name == 'pull_request' && !steps.branch-name.outputs.head_ref_branch
|
||||
- name: Test is_default output for non pull request
|
||||
if: "!contains(github.event_name, 'pull_request') && steps.branch-names.outputs.is_tag == 'false' && steps.branch-names.outputs.is_default != 'true'"
|
||||
run: |
|
||||
echo "Head ref unset: ${{ steps.branch-name.outputs.head_ref_branch }}"
|
||||
echo "Is default is invalid: ${{ steps.branch-names.outputs.is_default }}"
|
||||
exit 1
|
||||
- name: Test ref output
|
||||
if: "!steps.branch-name.outputs.ref_branch"
|
||||
- name: Test base_ref_branch output
|
||||
if: contains(github.event_name, 'pull_request') && steps.branch-names.outputs.is_tag == 'false' && !steps.branch-names.outputs.base_ref_branch
|
||||
run: |
|
||||
echo "Ref unset: ${{ steps.branch-name.outputs.ref_branch }}"
|
||||
echo "Base ref unset: ${{ steps.branch-names.outputs.base_ref_branch }}"
|
||||
exit 1
|
||||
- name: Test head_ref output
|
||||
if: contains(github.event_name, 'pull_request') && steps.branch-names.outputs.is_tag == 'false' && !steps.branch-names.outputs.head_ref_branch
|
||||
run: |
|
||||
echo "Head ref unset: ${{ steps.branch-names.outputs.head_ref_branch }}"
|
||||
exit 1
|
||||
- name: Test ref_branch output
|
||||
if: "!steps.branch-names.outputs.ref_branch && steps.branch-names.outputs.is_tag == 'false'"
|
||||
run: |
|
||||
echo "Ref unset: ${{ steps.branch-names.outputs.ref_branch }}"
|
||||
exit 1
|
||||
- name: Test current_branch output for pull_request or pull_request_target event.
|
||||
if: contains(github.event_name, 'pull_request') && steps.branch-names.outputs.is_tag == 'false' && !steps.branch-names.outputs.current_branch
|
||||
run: |
|
||||
echo "Current branch unset: ${{ steps.branch-names.outputs.current_branch }}"
|
||||
exit 1
|
||||
- name: Test current_branch output for push event.
|
||||
if: github.event_name == 'push' && steps.branch-names.outputs.is_tag == 'false' && !steps.branch-names.outputs.current_branch
|
||||
run: |
|
||||
echo "Current branch unset: ${{ steps.branch-names.outputs.current_branch }}"
|
||||
exit 1
|
||||
- name: Test current_branch output for tag based push event.
|
||||
if: github.event_name == 'push' && steps.branch-names.outputs.is_tag == 'true' && !steps.branch-names.outputs.base_ref_branch
|
||||
run: |
|
||||
echo "Base ref unset: ${{ steps.branch-names.outputs.base_ref_branch }}"
|
||||
exit 1
|
||||
- name: Test tag output for tag based push event.
|
||||
if: github.event_name == 'push' && steps.branch-names.outputs.is_tag == 'true' && !steps.branch-names.outputs.tag
|
||||
run: |
|
||||
echo "Current tag unset: ${{ steps.branch-names.outputs.tag }}"
|
||||
exit 1
|
||||
|
48
.github/workflows/update-readme.yml
vendored
Normal file
48
.github/workflows/update-readme.yml
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
name: Format README.md
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
sync-assets:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Run auto-doc
|
||||
uses: tj-actions/auto-doc@v3
|
||||
with:
|
||||
use_code_blocks: true
|
||||
use_major_version: true
|
||||
|
||||
- name: Run remark
|
||||
uses: tj-actions/remark@v3
|
||||
|
||||
- name: Verify Changed files
|
||||
uses: tj-actions/verify-changed-files@v20
|
||||
id: verify_changed_files
|
||||
with:
|
||||
files: |
|
||||
README.md
|
||||
|
||||
- name: README.md changed
|
||||
if: steps.verify_changed_files.outputs.files_changed == 'true'
|
||||
run: |
|
||||
echo "README.md has uncommitted changes"
|
||||
exit 1
|
||||
|
||||
- name: Create Pull Request
|
||||
if: failure()
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
with:
|
||||
base: "main"
|
||||
labels: "merge when passing"
|
||||
title: "Updated README.md"
|
||||
branch: "chore/update-readme"
|
||||
commit-message: "Updated README.md"
|
||||
body: "Updated README.md"
|
||||
token: ${{ secrets.PAT_TOKEN }}
|
12
.whitesource
Normal file
12
.whitesource
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"scanSettings": {
|
||||
"baseBranches": []
|
||||
},
|
||||
"checkRunSettings": {
|
||||
"vulnerableCheckRunConclusionLevel": "failure",
|
||||
"displayMode": "diff"
|
||||
},
|
||||
"issueSettings": {
|
||||
"minSeverityLevel": "LOW"
|
||||
}
|
||||
}
|
128
CODE_OF_CONDUCT.md
Normal file
128
CODE_OF_CONDUCT.md
Normal file
@ -0,0 +1,128 @@
|
||||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
We as members, contributors, and leaders pledge to make participation in our
|
||||
community a harassment-free experience for everyone, regardless of age, body
|
||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||
identity and expression, level of experience, education, socio-economic status,
|
||||
nationality, personal appearance, race, religion, or sexual identity
|
||||
and orientation.
|
||||
|
||||
We pledge to act and interact in ways that contribute to an open, welcoming,
|
||||
diverse, inclusive, and healthy community.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to a positive environment for our
|
||||
community include:
|
||||
|
||||
* Demonstrating empathy and kindness toward other people
|
||||
* Being respectful of differing opinions, viewpoints, and experiences
|
||||
* Giving and gracefully accepting constructive feedback
|
||||
* Accepting responsibility and apologizing to those affected by our mistakes,
|
||||
and learning from the experience
|
||||
* Focusing on what is best not just for us as individuals, but for the
|
||||
overall community
|
||||
|
||||
Examples of unacceptable behavior include:
|
||||
|
||||
* The use of sexualized language or imagery, and sexual attention or
|
||||
advances of any kind
|
||||
* Trolling, insulting or derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or email
|
||||
address, without their explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Enforcement Responsibilities
|
||||
|
||||
Community leaders are responsible for clarifying and enforcing our standards of
|
||||
acceptable behavior and will take appropriate and fair corrective action in
|
||||
response to any behavior that they deem inappropriate, threatening, offensive,
|
||||
or harmful.
|
||||
|
||||
Community leaders have the right and responsibility to remove, edit, or reject
|
||||
comments, commits, code, wiki edits, issues, and other contributions that are
|
||||
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
||||
decisions when appropriate.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies within all community spaces, and also applies when
|
||||
an individual is officially representing the community in public spaces.
|
||||
Examples of representing our community include using an official e-mail address,
|
||||
posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported to the community leaders responsible for enforcement at
|
||||
jtonye@ymail.com.
|
||||
All complaints will be reviewed and investigated promptly and fairly.
|
||||
|
||||
All community leaders are obligated to respect the privacy and security of the
|
||||
reporter of any incident.
|
||||
|
||||
## Enforcement Guidelines
|
||||
|
||||
Community leaders will follow these Community Impact Guidelines in determining
|
||||
the consequences for any action they deem in violation of this Code of Conduct:
|
||||
|
||||
### 1. Correction
|
||||
|
||||
**Community Impact**: Use of inappropriate language or other behavior deemed
|
||||
unprofessional or unwelcome in the community.
|
||||
|
||||
**Consequence**: A private, written warning from community leaders, providing
|
||||
clarity around the nature of the violation and an explanation of why the
|
||||
behavior was inappropriate. A public apology may be requested.
|
||||
|
||||
### 2. Warning
|
||||
|
||||
**Community Impact**: A violation through a single incident or series
|
||||
of actions.
|
||||
|
||||
**Consequence**: A warning with consequences for continued behavior. No
|
||||
interaction with the people involved, including unsolicited interaction with
|
||||
those enforcing the Code of Conduct, for a specified period of time. This
|
||||
includes avoiding interactions in community spaces as well as external channels
|
||||
like social media. Violating these terms may lead to a temporary or
|
||||
permanent ban.
|
||||
|
||||
### 3. Temporary Ban
|
||||
|
||||
**Community Impact**: A serious violation of community standards, including
|
||||
sustained inappropriate behavior.
|
||||
|
||||
**Consequence**: A temporary ban from any sort of interaction or public
|
||||
communication with the community for a specified period of time. No public or
|
||||
private interaction with the people involved, including unsolicited interaction
|
||||
with those enforcing the Code of Conduct, is allowed during this period.
|
||||
Violating these terms may lead to a permanent ban.
|
||||
|
||||
### 4. Permanent Ban
|
||||
|
||||
**Community Impact**: Demonstrating a pattern of violation of community
|
||||
standards, including sustained inappropriate behavior, harassment of an
|
||||
individual, or aggression toward or disparagement of classes of individuals.
|
||||
|
||||
**Consequence**: A permanent ban from any sort of public interaction within
|
||||
the community.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
||||
version 2.0, available at
|
||||
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
||||
|
||||
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
||||
enforcement ladder](https://github.com/mozilla/diversity).
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see the FAQ at
|
||||
https://www.contributor-covenant.org/faq. Translations are available at
|
||||
https://www.contributor-covenant.org/translations.
|
1534
HISTORY.md
1534
HISTORY.md
File diff suppressed because it is too large
Load Diff
332
README.md
332
README.md
@ -1,35 +1,256 @@
|
||||
branch-names
|
||||
------------
|
||||
## branch-names
|
||||
|
||||
Get branch information without the `/ref/*` prefix
|
||||
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
||||
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
||||
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
||||
[](https://github.com/search?o=desc\&q=tj-actions+branch-names+language%3AYAML\&s=\&type=Code)
|
||||
|
||||
[](https://app.codacy.com/gh/tj-actions/branch-names/dashboard?utm_source=gh\&utm_medium=referral\&utm_content=\&utm_campaign=Badge_grade)
|
||||
[](https://github.com/tj-actions/branch-names/actions?query=workflow%3ACI)
|
||||
[](https://github.com/tj-actions/branch-names/actions/workflows/sync-release-version.yml)
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
|
||||
[](#contributors-)
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||
|
||||
Get a branch or tag name without the `/ref/*` prefix.
|
||||
|
||||
## Table of Contents
|
||||
|
||||
* [Features](#features)
|
||||
* [Usage](#usage)
|
||||
* [Inputs](#inputs)
|
||||
* [Outputs](#outputs)
|
||||
* [Events](#events)
|
||||
* [`push*`](#push)
|
||||
* [`pull_request*`](#pull_request)
|
||||
* [`tag*`](#tag)
|
||||
* [Other supported events](#other-supported-events)
|
||||
* [Possible usage with actions/checkout](#possible-usage-with-actionscheckout)
|
||||
* [Credits](#credits)
|
||||
* [Report Bugs](#report-bugs)
|
||||
* [Contributors ✨](#contributors-)
|
||||
|
||||
## Features
|
||||
|
||||
* Retrieve the current branch name without any prefix. (e.g. `'refs/heads/main'` -> `'main'`)
|
||||
* Retrieve the current tag with an option to strip the prefix (e.g. `v0.0.1` -> `v` -> `0.0.1`)
|
||||
* Detect actions triggered by non default branches
|
||||
* Detect actions triggered by the default branch
|
||||
* Supports all valid [git branch names](https://wincent.com/wiki/Legal_Git_branch_names)
|
||||
|
||||
## Usage
|
||||
|
||||
```yaml
|
||||
...
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get branch names
|
||||
uses: tj-actions/branch-names@v1
|
||||
- name: Get branch names.
|
||||
id: branch-names
|
||||
- name: Get Ref brach name
|
||||
uses: tj-actions/branch-names@v8
|
||||
|
||||
- name: Running on the default branch.
|
||||
if: steps.branch-names.outputs.is_default == 'true'
|
||||
run: |
|
||||
echo "${{ steps.branch-name.outputs.ref_branch }}"
|
||||
# Outputs: "main" for non PR branches | "1/merge" for a PR branch
|
||||
|
||||
- name: Get Head Ref branch name
|
||||
if: github.event_name == 'pull_request'
|
||||
echo "Running on default: ${{ steps.branch-names.outputs.current_branch }}"
|
||||
# Outputs: "Running on default: main"
|
||||
|
||||
- name: Running on a pull request branch.
|
||||
if: steps.branch-names.outputs.is_default == 'false'
|
||||
run: |
|
||||
echo "${{ steps.branch-name.outputs.head_ref_branch }}"
|
||||
# Outputs: "feature/test" current PR branch.
|
||||
|
||||
- name: Get Base Ref branch name
|
||||
if: github.event_name == 'pull_request'
|
||||
echo "Running on pr: ${{ steps.branch-names.outputs.current_branch }}"
|
||||
# Outputs: "Running on pr: feature/test"
|
||||
|
||||
- name: Running on a pull request branch.
|
||||
if: steps.branch-names.outputs.is_default == 'false'
|
||||
run: |
|
||||
echo "${{ steps.branch-name.outputs.base_ref_branch }}"
|
||||
# Outputs: "main" for main <- PR branch.
|
||||
echo "Base branch: ${{ steps.branch-names.outputs.base_ref_branch }}"
|
||||
# Outputs: "Base branch: main"
|
||||
|
||||
- name: Running on any event.
|
||||
run: |
|
||||
echo "Default branch: ${{ steps.branch-names.outputs.default_branch }}"
|
||||
# Outputs: "Default branch: main"
|
||||
```
|
||||
|
||||
If you feel generous and want to show some extra appreciation:
|
||||
|
||||
### Possible usage with [actions/checkout@v2](https://github.com/actions/checkout):
|
||||
Support this project with a :star:
|
||||
|
||||
[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee]
|
||||
|
||||
[buymeacoffee]: https://www.buymeacoffee.com/jackton1
|
||||
|
||||
[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png
|
||||
|
||||
## Inputs
|
||||
|
||||
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
|
||||
|
||||
```yaml
|
||||
- uses: tj-actions/branch-names@v8
|
||||
id: branch-names
|
||||
with:
|
||||
# The prefix that should be
|
||||
# stripped from the tag e.g
|
||||
# `v` -> with a tag
|
||||
# `v0.0.1` -> returns `0.0.1`
|
||||
# Type: string
|
||||
strip_tag_prefix: ''
|
||||
|
||||
```
|
||||
|
||||
<!-- AUTO-DOC-INPUT:END -->
|
||||
|
||||
## Outputs
|
||||
|
||||
<!-- AUTO-DOC-OUTPUT:START - Do not remove or modify this section -->
|
||||
|
||||
| OUTPUT | TYPE | DESCRIPTION |
|
||||
|---------------------------------------------------------------------------------|--------|----------------------------------------------------------------------------------|
|
||||
| <a name="output_base_ref_branch"></a>[base\_ref\_branch](#output_base_ref_branch) | string | The target branch of a <br>pull request or tag e.g <br>`main` |
|
||||
| <a name="output_current_branch"></a>[current\_branch](#output_current_branch) | string | The current branch name regardless <br>of event\_type e.g `main`, `feature/test` |
|
||||
| <a name="output_default_branch"></a>[default\_branch](#output_default_branch) | string | The default branch name e.g <br>`main` OR `master` |
|
||||
| <a name="output_head_ref_branch"></a>[head\_ref\_branch](#output_head_ref_branch) | string | The source branch of a <br>pull request e.g `feature/test` |
|
||||
| <a name="output_is_default"></a>[is\_default](#output_is_default) | string | Returns `"true"` if the current <br>branch is the default else <br>`"false"`. |
|
||||
| <a name="output_is_tag"></a>[is\_tag](#output_is_tag) | string | Returns `"true"` if the current <br>branch is a tag else <br>`"false"`. |
|
||||
| <a name="output_ref_branch"></a>[ref\_branch](#output_ref_branch) | string | The branch that triggered the <br>workflow run. e.g `1/merge`, `main` |
|
||||
| <a name="output_tag"></a>[tag](#output_tag) | string | The tag that triggered the <br>workflow run. e.g `v0.0.1`, `0.0.1` |
|
||||
|
||||
<!-- AUTO-DOC-OUTPUT:END -->
|
||||
|
||||
## Events
|
||||
|
||||
### `push*`
|
||||
|
||||
```yaml
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
...
|
||||
steps:
|
||||
- name: Get branch names
|
||||
id: branch-names
|
||||
uses: tj-actions/branch-names@v8
|
||||
|
||||
- name: Current branch names
|
||||
run: |
|
||||
echo "${{ steps.branch-names.outputs.current_branch }}"
|
||||
# Outputs: "main" the branch that triggered the push event.
|
||||
|
||||
- name: Running on the default branch.
|
||||
if: steps.branch-names.outputs.is_default == 'true'
|
||||
run: |
|
||||
echo "Running on default: ${{ steps.branch-names.outputs.current_branch }}"
|
||||
# Outputs: "Running on default: main".
|
||||
|
||||
- name: Running on the default branch (i.e non tag based branch).
|
||||
if: steps.branch-names.outputs.is_tag == 'false' && steps.branch-names.outputs.is_default == 'true'
|
||||
run: |
|
||||
echo "Running on branch: ${{ steps.branch-names.outputs.current_branch }}"
|
||||
# Outputs: "Running on branch: main".
|
||||
|
||||
- name: Get Ref brach name
|
||||
run: |
|
||||
echo "${{ steps.branch-names.outputs.ref_branch }}"
|
||||
# Outputs: "main"
|
||||
|
||||
- name: Default branch name
|
||||
run: |
|
||||
echo "${{ steps.branch-names.outputs.default_branch }}"
|
||||
# Outputs: "main" the default branch.
|
||||
```
|
||||
|
||||
### `pull_request*`
|
||||
|
||||
```yaml
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
...
|
||||
steps:
|
||||
- name: Get branch names
|
||||
id: branch-names
|
||||
uses: tj-actions/branch-names@v8
|
||||
|
||||
- name: Current branch names
|
||||
run: |
|
||||
echo "${{ steps.branch-names.outputs.current_branch }}"
|
||||
# Outputs: "feature/test" current PR branch.
|
||||
|
||||
- name: Running on a non tag based branch and a PR branch.
|
||||
if: steps.branch-names.outputs.is_default == 'false'
|
||||
run: |
|
||||
echo "Running on branch: ${{ steps.branch-names.outputs.current_branch }}"
|
||||
# Outputs: "Running on branch: feature/test".
|
||||
|
||||
- name: Running on a pull request (i.e non tag based branch).
|
||||
if: steps.branch-names.outputs.is_tag == 'false' && steps.branch-names.outputs.is_default == 'false'
|
||||
run: |
|
||||
echo "Running on branch: ${{ steps.branch-names.outputs.current_branch }}"
|
||||
# Outputs: "Running on branch: feature/test".
|
||||
|
||||
- name: Get Ref branch name
|
||||
run: |
|
||||
echo "${{ steps.branch-names.outputs.ref_branch }}"
|
||||
# Outputs: "1/merge"
|
||||
|
||||
- name: Get Head Ref branch names (i.e The current pull request branch)
|
||||
run: |
|
||||
echo "${{ steps.branch-names.outputs.head_ref_branch }}"
|
||||
# Outputs: "feature/test" current PR branch.
|
||||
|
||||
- name: Get Base Ref branch names (i.e The target of a pull request.)
|
||||
run: |
|
||||
echo "${{ steps.branch-names.outputs.base_ref_branch }}"
|
||||
# Outputs: "main".
|
||||
|
||||
- name: Default branch names
|
||||
run: |
|
||||
echo "${{ steps.branch-names.outputs.default_branch }}"
|
||||
# Outputs: "main" the default branch.
|
||||
```
|
||||
|
||||
### `tag*`
|
||||
|
||||
```yaml
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
...
|
||||
steps:
|
||||
- name: Get branch names
|
||||
id: branch-names
|
||||
uses: tj-actions/branch-names@v8
|
||||
with:
|
||||
strip_tag_prefix: v # Optionally strip the leading `v` from the tag.
|
||||
|
||||
- name: Running on a tag branch.
|
||||
if: steps.branch-names.outputs.is_tag == 'true'
|
||||
run: |
|
||||
echo "Running on: ${{ steps.branch-names.outputs.tag }}"
|
||||
# Outputs: "Running on: 0.0.1".
|
||||
|
||||
- name: Get the current tag
|
||||
if: steps.branch-names.outputs.is_tag == 'true' # Replaces: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
echo "${{ steps.branch-names.outputs.tag }}"
|
||||
# Outputs: "0.0.1"
|
||||
```
|
||||
|
||||
### Other supported events
|
||||
|
||||
See [.github/workflows/test.yml](https://github.com/tj-actions/branch-names/blob/main/.github/workflows/test.yml) for more examples.
|
||||
|
||||
### Possible usage with [actions/checkout](https://github.com/actions/checkout)
|
||||
|
||||
```yaml
|
||||
on:
|
||||
@ -43,49 +264,52 @@ on:
|
||||
steps:
|
||||
- name: Get branch names.
|
||||
id: branch-names
|
||||
uses: tj-actions/branch-names@v1
|
||||
- uses: actions/checkout@v2
|
||||
uses: tj-actions/branch-names@v8
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ steps.branch-names.outputs.base_ref_branch }}
|
||||
ref: ${{ steps.branch-names.outputs.head_ref_branch }}
|
||||
```
|
||||
|
||||
* Free software: [MIT license](LICENSE)
|
||||
|
||||
## Inputs
|
||||
|
||||
| Input | type | required | default |
|
||||
|:-------------:|:-----------:|:-------------:|:---------------------:|
|
||||
| token | `string` | `false` | `${{ github.token }}` |
|
||||
|
||||
|
||||
|
||||
|
||||
## Outputs
|
||||
|
||||
| Output | type | Example | Description |
|
||||
|:--------------------:|:-----------:|:---------------------:|:------------------------------------------------:|
|
||||
| base_ref_branch | `string` | `main` | The target branch of a pull request |
|
||||
| head_ref_branch | `string` | `feature/test` | The source branch of a pull request |
|
||||
| ref_branch | `string` | `1/merge` | `main` | The branch that triggered the workflow run |
|
||||
|
||||
|
||||
|
||||
* Free software: [MIT license](LICENSE)
|
||||
|
||||
|
||||
Credits
|
||||
-------
|
||||
## Credits
|
||||
|
||||
This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter).
|
||||
|
||||
|
||||
|
||||
Report Bugs
|
||||
-----------
|
||||
## Report Bugs
|
||||
|
||||
Report bugs at https://github.com/tj-actions/branch-names/issues.
|
||||
|
||||
If you are reporting a bug, please include:
|
||||
|
||||
* Your operating system name and version.
|
||||
* Any details about your workflow that might be helpful in troubleshooting.
|
||||
* Detailed steps to reproduce the bug.
|
||||
* Your operating system name and version.
|
||||
* Any details about your workflow that might be helpful in troubleshooting.
|
||||
* Detailed steps to reproduce the bug.
|
||||
|
||||
## Contributors ✨
|
||||
|
||||
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
|
||||
<!-- markdownlint-disable -->
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/loarca"><img src="https://avatars.githubusercontent.com/u/22898638?v=4?s=100" width="100px;" alt="Alejandro Loarca"/><br /><sub><b>Alejandro Loarca</b></sub></a><br /><a href="https://github.com/tj-actions/branch-names/commits?author=loarca" title="Code">💻</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://ianwoodard.me"><img src="https://avatars.githubusercontent.com/u/17186604?v=4?s=100" width="100px;" alt="Ian Woodard"/><br /><sub><b>Ian Woodard</b></sub></a><br /><a href="https://github.com/tj-actions/branch-names/commits?author=IanWoodard" title="Documentation">📖</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://home.boidol.dev/"><img src="https://avatars.githubusercontent.com/u/652404?v=4?s=100" width="100px;" alt="Raphael Boidol"/><br /><sub><b>Raphael Boidol</b></sub></a><br /><a href="https://github.com/tj-actions/branch-names/commits?author=boidolr" title="Documentation">📖</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||
|
||||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
||||
|
32
SECURITY.md
Normal file
32
SECURITY.md
Normal file
@ -0,0 +1,32 @@
|
||||
# Security Policy
|
||||
|
||||
## Proactive Security Measures
|
||||
|
||||
To proactively detect and address security vulnerabilities, we utilize several robust tools and processes:
|
||||
|
||||
- **Dependency Updates:** We use [Renovate](https://renovatebot.com) and [Dependabot](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) to keep our dependencies updated and promptly patch detected vulnerabilities through automated PRs.
|
||||
- **[GitHub's Security Features](https://github.com/features/security):** Our repository and dependencies are continuously monitored via GitHub's security features, which include:
|
||||
- **Code Scanning:** Using GitHub's CodeQL, all pull requests are scanned to identify potential vulnerabilities in our source code.
|
||||
- **Automated Alerts:** Dependabot identifies vulnerabilities based on the GitHub Advisory Database and opens PRs with patches, while automated [secret scanning](https://docs.github.com/en/enterprise-cloud@latest/code-security/secret-scanning/about-secret-scanning#about-secret-scanning-for-partner-patterns) provides alerts for detected secrets.
|
||||
- **[GitGuardian Security Checks](https://www.gitguardian.com/):** We employ GitGuardian to ensure security checks are performed on the codebase, enhancing the overall security of our project.
|
||||
- **Code Analysis and Security Scanning:** With the help of [Codacy Static Code Analysis](https://www.codacy.com/) and [Codacy Security Scan](https://security.codacy.com/), we conduct thorough analyses and scans of our code for potential security risks.
|
||||
|
||||
## Reporting Security Vulnerabilities
|
||||
|
||||
Despite our best efforts to deliver secure software, we acknowledge the invaluable role of the community in identifying security breaches.
|
||||
|
||||
### Private Vulnerability Disclosures
|
||||
|
||||
We request all suspected vulnerabilities to be responsibly and privately disclosed by sending an email to [support@tj-actions.online](mailto:support@tj-actions.online).
|
||||
|
||||
### Public Vulnerability Disclosures
|
||||
|
||||
For publicly disclosed security vulnerabilities, please **IMMEDIATELY** email [support@tj-actions.online](mailto:support@tj-actions.online) with the details for prompt action.
|
||||
|
||||
Upon confirmation of a breach, reporters will receive full credit and recognition for their contribution. Please note, that we do not offer monetary compensation for reporting vulnerabilities.
|
||||
|
||||
## Communication of Security Breaches
|
||||
|
||||
We will utilize the [GitHub Security Advisory](https://github.com/tj-actions/branch-names/security/advisories) to communicate any security breaches. The advisory will be made public once a patch has been released to rectify the issue.
|
||||
|
||||
We appreciate your cooperation and contribution to maintaining the security of our software. Remember, a secure community is a strong community.
|
127
action.yml
127
action.yml
@ -1,48 +1,121 @@
|
||||
name: branch-names
|
||||
description: Retrieve giithub branch information without `/ref/heads` prefix
|
||||
name: Branch Names
|
||||
description: Retrieve github branch or tag information without the /ref/* prefix
|
||||
author: tj-actions
|
||||
inputs:
|
||||
token:
|
||||
description: 'GITHUB_TOKEN or a Repo scoped PAT'
|
||||
required: true
|
||||
default: ${{ github.token }}
|
||||
base_ref:
|
||||
description: 'The target branch of a pull request'
|
||||
default: ${{ github.base_ref }}
|
||||
required: false
|
||||
head_ref:
|
||||
description: 'The source branch of a pull request'
|
||||
default: ${{ github.head_ref }}
|
||||
required: false
|
||||
ref:
|
||||
description: 'The branch that triggered the workflow run.'
|
||||
default: ${{ github.ref }}
|
||||
strip_tag_prefix:
|
||||
description: 'The prefix that should be stripped from the tag e.g `v` -> with a tag `v0.0.1` -> returns `0.0.1`'
|
||||
default: ''
|
||||
required: false
|
||||
|
||||
outputs:
|
||||
is_default:
|
||||
value: ${{ steps.default.outputs.is_default }}
|
||||
description: 'Returns `"true"` if the current branch is the default else `"false"`.'
|
||||
is_tag:
|
||||
value: ${{ steps.tag.outputs.is_tag }}
|
||||
description: 'Returns `"true"` if the current branch is a tag else `"false"`.'
|
||||
default_branch:
|
||||
value: ${{ steps.default.outputs.default_branch }}
|
||||
description: 'The default branch name e.g `main` OR `master`'
|
||||
current_branch:
|
||||
value: ${{ steps.current_branch.outputs.current_branch }}
|
||||
description: 'The current branch name regardless of event_type e.g `main`, `feature/test`'
|
||||
base_ref_branch:
|
||||
value: ${{ steps.branch.outputs.base_ref_branch }}
|
||||
description: 'The target branch of a pull request'
|
||||
description: 'The target branch of a pull request or tag e.g `main`'
|
||||
head_ref_branch:
|
||||
value: ${{ steps.branch.outputs.head_ref_branch }}
|
||||
description: 'The source branch of a pull request'
|
||||
description: 'The source branch of a pull request e.g `feature/test`'
|
||||
ref_branch:
|
||||
value: ${{ steps.branch.outputs.ref_branch }}
|
||||
description: 'The branch that triggered the workflow run.'
|
||||
description: 'The branch that triggered the workflow run. e.g `1/merge`, `main`'
|
||||
tag:
|
||||
value: ${{ steps.tag.outputs.tag }}
|
||||
description: 'The tag that triggered the workflow run. e.g `v0.0.1`, `0.0.1`'
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- id: branch
|
||||
env:
|
||||
GITHUB_REF: ${{ github.ref }}
|
||||
GITHUB_BASE_REF: ${{ github.event.pull_request.base.ref || github.base_ref }}
|
||||
GITHUB_HEAD_REF: ${{ github.event.pull_request.head.ref || github.head_ref }}
|
||||
GITHUB_EVENT_BASE_REF: ${{ github.event.base_ref }}
|
||||
INPUTS_STRIP_TAG_PREFIX: ${{ inputs.strip_tag_prefix }}
|
||||
run: |
|
||||
export BASE_REF=${{ inputs.base_ref }}
|
||||
export HEAD_REF=${{ inputs.head_ref }}
|
||||
export REF=${{ inputs.ref }}
|
||||
echo "::set-output name=base_ref_branch::${BASE_REF/refs\/heads\//}"
|
||||
echo "::set-output name=head_ref_branch::${HEAD_REF/refs\/heads\//}"
|
||||
REF_BRANCH=${REF/refs\/pull\//}
|
||||
echo "::set-output name=ref_branch::${REF_BRANCH/refs\/heads\//}"
|
||||
# "Set branch names..."
|
||||
if [[ "$GITHUB_REF" != "refs/tags/"* ]]; then
|
||||
BASE_REF=$(printf "%q" "$GITHUB_BASE_REF")
|
||||
HEAD_REF=$(printf "%q" "$GITHUB_HEAD_REF")
|
||||
REF=$(printf "%q" "$GITHUB_REF")
|
||||
|
||||
BASE_REF=${BASE_REF/refs\/heads\//}
|
||||
HEAD_REF=${HEAD_REF/refs\/heads\//}
|
||||
REF_BRANCH=${REF/refs\/pull\//}
|
||||
REF_BRANCH=${REF_BRANCH/refs\/heads\//}
|
||||
|
||||
echo "base_ref_branch=$(eval printf "%s" "$BASE_REF")" >> "$GITHUB_OUTPUT"
|
||||
echo "head_ref_branch=$(eval printf "%s" "$HEAD_REF")" >> "$GITHUB_OUTPUT"
|
||||
echo "ref_branch=$(eval printf "%s" "$REF_BRANCH")" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
BASE_REF=$(printf "%q" "$GITHUB_EVENT_BASE_REF")
|
||||
BASE_REF=${BASE_REF/refs\/heads\/$INPUTS_STRIP_TAG_PREFIX/}
|
||||
|
||||
echo "base_ref_branch=$(eval printf "%s" "$BASE_REF")" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
shell: bash
|
||||
- id: current_branch
|
||||
env:
|
||||
GITHUB_REF: ${{ github.ref }}
|
||||
GITHUB_EVENT_NAME: ${{ github.event_name }}
|
||||
HEAD_REF_BRANCH: ${{ steps.branch.outputs.head_ref_branch }}
|
||||
REF_BRANCH: ${{ steps.branch.outputs.ref_branch }}
|
||||
run: |
|
||||
# "Set the current branch name..."
|
||||
if [[ "$GITHUB_REF" != "refs/tags/"* ]]; then
|
||||
if [[ "$GITHUB_EVENT_NAME" == *"pull_request"* ]]; then
|
||||
echo "current_branch=$HEAD_REF_BRANCH" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "current_branch=$REF_BRANCH" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
fi
|
||||
shell: bash
|
||||
- id: default
|
||||
env:
|
||||
GITHUB_REF: ${{ github.ref }}
|
||||
CURRENT_BRANCH: ${{ steps.current_branch.outputs.current_branch }}
|
||||
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
|
||||
FORK: ${{ github.event.pull_request.head.repo.fork }}
|
||||
run: |
|
||||
# "Set the default branch name..."
|
||||
if [[ "$GITHUB_REF" != "refs/tags/"* ]]; then
|
||||
if [[ "$CURRENT_BRANCH" == "$DEFAULT_BRANCH" && "$FORK" != "true" ]]; then
|
||||
echo "is_default=true" >> "$GITHUB_OUTPUT"
|
||||
echo "default_branch=$DEFAULT_BRANCH" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "is_default=false" >> "$GITHUB_OUTPUT"
|
||||
echo "default_branch=$DEFAULT_BRANCH" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
fi
|
||||
shell: bash
|
||||
- id: tag
|
||||
env:
|
||||
GITHUB_REF: ${{ github.ref }}
|
||||
INPUTS_STRIP_TAG_PREFIX: ${{ inputs.strip_tag_prefix }}
|
||||
run: |
|
||||
# "Set the tag name..."
|
||||
if [[ "$GITHUB_REF" == "refs/tags/"* ]]; then
|
||||
REF=$(printf "%q" "$GITHUB_REF")
|
||||
TAG="${REF/refs\/tags\/$INPUTS_STRIP_TAG_PREFIX/}"
|
||||
|
||||
echo "tag=$(eval printf "%s" "$TAG")" >> "$GITHUB_OUTPUT"
|
||||
echo "is_tag=true" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "is_tag=false" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
branding:
|
||||
icon: git-branch
|
||||
color: white
|
||||
|
58
renovate.json
Normal file
58
renovate.json
Normal file
@ -0,0 +1,58 @@
|
||||
{
|
||||
"extends": [
|
||||
"config:base"
|
||||
],
|
||||
"enabled": true,
|
||||
"prHourlyLimit": 10,
|
||||
"prConcurrentLimit": 5,
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"addLabels": [
|
||||
"dependencies",
|
||||
"merge when passing"
|
||||
],
|
||||
"assignees": [
|
||||
"jackton1"
|
||||
],
|
||||
"assignAutomerge": true,
|
||||
"dependencyDashboard": true,
|
||||
"dependencyDashboardAutoclose": true,
|
||||
"lockFileMaintenance": {
|
||||
"enabled": true,
|
||||
"automerge": true
|
||||
},
|
||||
"nvm": {
|
||||
"enabled": false
|
||||
},
|
||||
"packageRules": [
|
||||
{
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch",
|
||||
"pin",
|
||||
"digest"
|
||||
],
|
||||
"automerge": true,
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"addLabels": [
|
||||
"merge when passing"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "docker images",
|
||||
"matchLanguages": [
|
||||
"docker"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch",
|
||||
"pin",
|
||||
"digest"
|
||||
],
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"addLabels": [
|
||||
"merge when passing"
|
||||
],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user