From d25f9053219ffbb502395630e329835fc0ae1cf5 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 15 Aug 2023 14:20:31 -0400 Subject: [PATCH] Fix repository_owner condition docs_deploy gha job (#10635) This commit fixes an issue in the job definition for the new docs deployment job added in #10610. The new jobs are conditioned to only execute from the Qiskit/qiskit-terra repo. However that line is being flagged as a syntax error in github. This seems to be due to the double quotes used for `"Qiskit"`. A similar condition exists on the pre-existing github actions jobs but they use a single quote instead of a double and they function correctly. This commit updates the condition to used single quotes to match the working syntax in other jobs. --- .github/workflows/docs_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs_deploy.yml b/.github/workflows/docs_deploy.yml index d437dfe2fa0..835ddf93d97 100644 --- a/.github/workflows/docs_deploy.yml +++ b/.github/workflows/docs_deploy.yml @@ -23,7 +23,7 @@ on: jobs: build: - if: github.repository_owner == "Qiskit" + if: github.repository_owner == 'Qiskit' name: Build runs-on: ubuntu-latest