From 5e0bcc6773ed34608592f7b8cdc2ade88770978a Mon Sep 17 00:00:00 2001 From: Sarah Schneider Date: Mon, 23 Nov 2020 14:57:38 -0500 Subject: [PATCH] fix startsWith syntax --- .github/workflows/sync-single-english-algolia-index.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-single-english-algolia-index.yml b/.github/workflows/sync-single-english-algolia-index.yml index 1ac65d8551..a35815cd87 100644 --- a/.github/workflows/sync-single-english-algolia-index.yml +++ b/.github/workflows/sync-single-english-algolia-index.yml @@ -13,7 +13,7 @@ on: jobs: updateIndices: name: Update English index for single version based on a label's version - if: github.repository == 'github/docs-internal' && github.event.label.name.startsWith('sync-english-index-for-') + if: github.repository == 'github/docs-internal' && startsWith(github.event.label.name, 'sync-english-index-for-') runs-on: ubuntu-latest steps: - name: checkout