You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run_id=$(gh run list --branch "${{ matrix.pr.headRefName }}" --workflow build-test --limit 1 --json databaseId -q '.[0].databaseId')
61
+
run_id=$(gh run list --branch "${{ matrix.pr.headRefName }}" --workflow build-test-deploy --limit 1 --json databaseId -q '.[0].databaseId')
62
62
63
63
# If there are still pending jobs, skip.
64
64
@@ -70,7 +70,7 @@ jobs:
70
70
71
71
# If all checks passed, approve and merge.
72
72
if gh run view "$run_id" --json jobs -q '.jobs[] | select(.name == "validate-success") | .conclusion' | grep -q "success"; then
73
-
if gh pr checks "${{ matrix.pr.url }}"; then
73
+
if gh pr checks "${{ matrix.pr.url }}"; then
74
74
echo "All tests passed. Approving and merging."
75
75
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
0 commit comments