Skip to content

Commit 21065c5

Browse files
authored
Merge pull request #16594 from github/fix-invalid-workflow
Fix startsWith in workflow file
2 parents 5a71853 + 8ab76ef commit 21065c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/sync-single-english-algolia-index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
updateIndices:
1515
name: Update English index for single version based on a label's version
16-
if: github.repository == 'github/docs-internal' && github.event.label.name.startsWith('sync-english-index-for-')
16+
if: github.repository == 'github/docs-internal' && startsWith(github.event.label.name, 'sync-english-index-for-')
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: checkout

0 commit comments

Comments
 (0)