diff --git a/.github/workflows/sync-single-english-algolia-index.yml b/.github/workflows/sync-single-english-algolia-index.yml index 1ac65d8551ff..a35815cd872d 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