From a7d3b2da6d7c4a8f727dfb3d1e9cead682bf39ee Mon Sep 17 00:00:00 2001 From: Jason Karlavige Date: Wed, 1 Nov 2023 13:57:55 -0400 Subject: [PATCH] final action configured --- .github/workflows/crawler.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/crawler.yml b/.github/workflows/crawler.yml index 4ccc52e8c75..1eb040a45bc 100644 --- a/.github/workflows/crawler.yml +++ b/.github/workflows/crawler.yml @@ -1,17 +1,13 @@ name: Algolia Crawler on: - # Uncomment push to current branch trigger - # if running on each merge to current - push: - branches: [ automate-crawler ] pull_request: types: - # - closed + - closed jobs: algolia_recrawl: - # Comment out this if check if running on every merge to current branch - #if: ${{ contains(github.event.pull_request.labels.*.name, 'trigger-crawl') && github.event.pull_request.merged == false }} + # Comment out the if check below if running on every merge to current branch + if: ${{ contains(github.event.pull_request.labels.*.name, 'trigger-crawl') && github.event.pull_request.merged == false }} name: Trigger Algolia Crawl runs-on: ubuntu-latest steps: