Skip to content

Commit 15e2d89

Browse files
committed
fixed PR idempotency
1 parent efe42b6 commit 15e2d89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update-timestamps.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ jobs:
123123
run: |
124124
set +e
125125
gh pr list --json headRefName --jq '.[].headRefName' | grep auto/bump-timestamps
126-
echo "pr_exists=$?" >> "$GITHUB_OUTPUT"
126+
PR_EXISTS=$?
127+
echo "pr_exists=$PR_EXISTS" >> "$GITHUB_OUTPUT"
127128
128129
- name: Create PR
129130
if: steps.pr-check.outputs.pr_exists

0 commit comments

Comments
 (0)