Skip to content

Commit

Permalink
only run if pr is merged
Browse files Browse the repository at this point in the history
  • Loading branch information
JKarlavige committed Nov 1, 2023
1 parent a7d3b2d commit 6a5d588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/crawler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
algolia_recrawl:
# 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 }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'trigger-crawl') && github.event.pull_request.merged == true }}
name: Trigger Algolia Crawl
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 6a5d588

Please sign in to comment.