From 26264bd3ef70dfe6b979dc713b5b2651e3336672 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Wed, 26 Jul 2023 02:16:57 +0300 Subject: [PATCH] test: remove erroneous quotes from deploy-pr.yaml (#8732) --- .github/workflows/pr-deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-deploy.yaml b/.github/workflows/pr-deploy.yaml index 4c49a63b75..90b51b1c80 100644 --- a/.github/workflows/pr-deploy.yaml +++ b/.github/workflows/pr-deploy.yaml @@ -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')