Skip to content

Commit 410569b

Browse files
committed
Fix linter error
1 parent 4f58c88 commit 410569b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish_docs_update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,16 @@ jobs:
8888
run: |
8989
BODY="Automated update of the OpenSearch Dashboards docs submodule to commit [\`${{ github.sha }}\`](https://github.com/canonical/opensearch-dashboards-operator/commit/${{ github.sha }})."
9090
91-
REVIEWER_FLAG=""
91+
REVIEWER_ARGS=()
9292
if [[ -n "${{ steps.get-reviewers.outputs.REVIEWERS }}" ]]; then
93-
REVIEWER_FLAG="--reviewer ${{ steps.get-reviewers.outputs.REVIEWERS }}"
93+
REVIEWER_ARGS=(--reviewer "${{ steps.get-reviewers.outputs.REVIEWERS }}")
9494
fi
9595
9696
PR_URL=$(gh pr create \
9797
--title "chore: Update OpenSearch Dashboards docs submodule" \
9898
--body "${BODY}" \
9999
--base "${{ env.BASE_BRANCH }}" \
100100
--head "${PR_BRANCH}" \
101-
${REVIEWER_FLAG}
101+
"${REVIEWER_ARGS[@]}"
102102
)
103103
echo "- ${PR_URL}" >> "$GITHUB_STEP_SUMMARY"

0 commit comments

Comments
 (0)