We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ffc805 commit 2f32b0cCopy full SHA for 2f32b0c
.github/workflows/pr-deploy.yaml
@@ -37,9 +37,9 @@ jobs:
37
id: pr_number
38
run: |
39
set -euxo pipefail
40
- if [[ ${{ github.event_name }} == 'workflow_dispatch' ]]; then
+ if [[ ${{ github.event_name }} == "workflow_dispatch" ]]; then
41
PR_NUMBER=${{ github.event.inputs.pr_number }}
42
- PR_TITLE=$(curl -sSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/coder/coder/pulls/$PR_NUMBER | jq -r '.title')
+ PR_TITLE=$(curl -sSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/coder/coder/pulls/$PR_NUMBER" | jq -r '.title')
43
else
44
PR_NUMBER=${{ github.event.issue.number }}
45
PR_TITLE=${{ github.event.issue.title }}
0 commit comments