Skip to content

Commit 2eb3aa9

Browse files
authored
Add delay between approving and merging PR in the automated PRs manager (#1493)
1 parent ffd357c commit 2eb3aa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/automated-prs-manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
echo "All tests passed. Approving and merging."
7575
echo -e "LGTM :thumbsup: \n\nThis PR was automatically approved and merged by the [automated-prs-manager](https://github.com/replicatedhq/troubleshoot/blob/main/.github/workflows/automated-prs-manager.yaml) GitHub action" > body.txt
7676
gh pr review --approve "${{ matrix.pr.url }}" --body-file body.txt
77-
gh pr merge --auto --squash "${{ matrix.pr.url }}"
7877
sleep 10
78+
gh pr merge --auto --squash "${{ matrix.pr.url }}"
7979
exit 0
8080
else
8181
echo "Some checks did not pass. Skipping."

0 commit comments

Comments
 (0)