Commit eefb842
authored
Properly detect when already using the current protobuf tag. (#1986)
There were two problems to address -
- The shallow checkout github actions do by default didn't have any tags
in the submodule, and we weren't fetching them until doing the update.
So fetch the tags for the protobuf module upfront so the steps can
properly inspect them.
- Since protobuf does language specific tags, most of the time a
language specific tag will be what was collected for the current
checkout, which would still result in all the work being done to then
decide nothing was needed. So change things to collect _all_ tags for
the current comment, and filter them down to the general protobuf tag
instead. This also now errors if anything goes wrong instead of doing
lots of work to then not make a PR.
Fixes #19041 parent bb661fa commit eefb842
1 file changed
Lines changed: 28 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
28 | 36 | | |
29 | 37 | | |
30 | 38 | | |
| |||
36 | 44 | | |
37 | 45 | | |
38 | 46 | | |
39 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
40 | 53 | | |
41 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
42 | 68 | | |
43 | 69 | | |
44 | 70 | | |
| |||
56 | 82 | | |
57 | 83 | | |
58 | 84 | | |
59 | | - | |
60 | 85 | | |
61 | 86 | | |
62 | 87 | | |
| |||
0 commit comments