We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84706be commit d9d3a9aCopy full SHA for d9d3a9a
.github/workflows/nightly-build.yml
@@ -84,7 +84,6 @@ jobs:
84
fi
85
86
- name: Create or update PR
87
- if: steps.check_changes.outputs.has_changes == 'true'
88
run: |
89
PR_BODY="Automated update of OpenTelemetry dependencies.
90
@@ -95,8 +94,8 @@ jobs:
95
94
**Upstream releases with breaking changes:**
96
${{ steps.breaking_changes.outputs.breaking_changes_info }}"
97
98
- if gh pr view "$BRANCH_NAME" > /dev/null 2>&1; then
99
- echo "PR already exists, updating description..."
+ if gh pr view "$BRANCH_NAME" --json state --jq '.state' 2>/dev/null | grep -q "OPEN"; then
+ echo "Open PR already exists, updating description..."
100
gh pr edit "$BRANCH_NAME" --body "$PR_BODY"
101
else
102
echo "Creating new PR..."
0 commit comments