Commit 6b8bd58
Handle ref/heads/* for both base branch and target branch
if base branch has refs/heads but target annotation only has branch
name, it use to fails
for eg. target annotation is main and for push rerequested action
the base branch would be refs/heads/main
not this checks both ways if any of base branch or taget branch has refs/heads
and then matches.
Signed-off-by: Shivam Mukhade <[email protected]>1 parent 21ce6b4 commit 6b8bd58
File tree
2 files changed
+17
-0
lines changed- pkg/matcher
2 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
914 | 922 | | |
915 | 923 | | |
916 | 924 | | |
| |||
0 commit comments