chore: fix condition in pr-deploy.yaml (#8224)

This commit is contained in:
Muhammad Atif Ali
2023-06-27 09:59:15 +00:00
committed by GitHub
parent c969da469d
commit 96435ee2ce
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
- name: Get PR number
id: pr_number
run: |
if [ -z "${{ github.event.pull_request.number }}" ]; then
if [ -n "${{ github.event.pull_request.number }}" ]; then
echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_OUTPUT
else
echo "PR_NUMBER=${{ github.event.inputs.pr_number }}" >> $GITHUB_OUTPUT