ci: prevent running docs index on forks (#11762)

This commit is contained in:
Piotr Kuczynski 2025-11-12 10:52:22 +01:00 committed by GitHub
parent 52a96ad68c
commit e04ffd3f3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,15 +6,14 @@ on:
- master
jobs:
index_docs:
index-docs:
if: ${{ !github.event.repository.fork }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- uses: actions/checkout@v5
- name: Index docs to Typesense
run: |
- run: |
docker run \
-e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \
-e TYPESENSE_HOST="${{ secrets.TYPESENSE_HOST }}" \