Skip to content

Commit 1417c12

Browse files
authored
ci: get PR number correctly from pull_request event (#8158)
1 parent 2c046ef commit 1417c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-cleanup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
id: pr_number
2020
run: |
2121
if [ -z "${{ github.event.pull_request.number }}" ]; then
22-
echo "PR_NUMBER=${{ github.event.inputs.pr_number }}" >> $GITHUB_OUTPUT
22+
echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_OUTPUT
2323
else
2424
echo "PR_NUMBER=${{ github.event.inputs.pr_number }}" >> $GITHUB_OUTPUT
2525
fi

0 commit comments

Comments
 (0)