test: remove erroneous quotes from deploy-pr.yaml (#8732)

This commit is contained in:
Muhammad Atif Ali
2023-07-25 23:16:57 +00:00
committed by GitHub
parent 2c7d8ee06a
commit 26264bd3ef
+3 -3
View File
@@ -37,11 +37,11 @@ jobs:
- name: Get PR number, title, and branch name
id: pr_info
run: |
set -exo pipefail
set -euxo pipefail
if [[ ${{ github.event_name }} == "workflow_dispatch" ]]; then
PR_NUMBER=${{ github.event.inputs.pr_number }}"
PR_NUMBER=${{ github.event.inputs.pr_number }}
else
PR_NUMBER=${{ github.event.issue.number }}"
PR_NUMBER=${{ github.event.issue.number }}
fi
PR_TITLE=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/coder/coder/pulls/$PR_NUMBER | jq -r '.title')
PR_BRANCH=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/coder/coder/pulls/$PR_NUMBER | jq -r '.head.ref')