Skip to content

Commit 96435ee

Browse files
authored
chore: fix condition in pr-deploy.yaml (coder#8224)
1 parent c969da4 commit 96435ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-cleanup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Get PR number
1919
id: pr_number
2020
run: |
21-
if [ -z "${{ github.event.pull_request.number }}" ]; then
21+
if [ -n "${{ github.event.pull_request.number }}" ]; then
2222
echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_OUTPUT
2323
else
2424
echo "PR_NUMBER=${{ github.event.inputs.pr_number }}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)