1
0
mirror of synced 2026-01-05 21:04:17 -05:00

Trying out the contains option again (#20967)

This commit is contained in:
Rachael Sewell
2021-08-19 09:59:14 -07:00
committed by GitHub
parent 8508b4f15f
commit e47879ab67

View File

@@ -73,7 +73,7 @@ jobs:
run: $GITHUB_WORKSPACE/.github/actions-scripts/enterprise-search-label.js
- name: Fail if unallowed changes were made outside of the Search Sync label added
if: ${{ !steps.labelExists.outputs.versionToSync }}
if: false == steps.labelExists.outputs.versionToSync && false == contains(github.event.pull_request.labels.*.name, 'deprecate-lunr-index')
run: |
echo "Search indices are updated automatically every 4 hours. Please revert any changes you have made to the search indexes before you merge this PR. If you need to update the search indices directly after you merge your PR, you can manually run the search sync workflow: Sync search indexes. See the docs/contributing/search.md for more details. If you have any other questions, please ping us in #docs-engineering."
exit 1