Skip to content

Commit 27f7222

Browse files
[github] Fix automerge github action issue when close&reopen PR. (sonic-net#14936)
When auto cherry pick PR is closed&reopen to rerun validation. post_cherry_pick action will be skipped. Auto-merge scaning action will not merge that PR.
1 parent 0c7db88 commit 27f7222

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/automerge_scan.yml

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
# Others success flag: conclusion in SUCCESS,NEUTRAL
4848
# Ignore Azure.sonic-mgmt stage check result. It may be set continueOnError
4949
echo "$name" | grep "Azure.sonic-mgmt (" && continue
50+
echo "$name" | grep "cherry_pick" && continue
5051
# rerun Azure.sonic-mgmt per day
5152
if [[ "$name" == "Azure.sonic-mgmt" ]] && [[ "$conclusion" == "FAILURE" ]];then
5253
completedAt=$(echo $check | jq -r '.completedAt')

0 commit comments

Comments
 (0)