Skip to content

Commit

Permalink
run when merged === false to test
Browse files Browse the repository at this point in the history
  • Loading branch information
JKarlavige committed Nov 1, 2023
1 parent 503d61d commit 4058ea0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/crawler.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Algolia Crawler
on:
#push:
#branches: [ current, automate-crawler ]
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']

jobs:
algolia_recrawl:
# if: ${{ github.event.label.name == 'trigger-crawl' }}
# if: github.event.pull_request.merged == true
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:
Expand Down

0 comments on commit 4058ea0

Please sign in to comment.