mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: fix condition in pr-deploy.yaml (#8224)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user