Skip to content

Commit

Permalink
Add inkeep source sync (#3696)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Nov 22, 2024
1 parent c5f2159 commit dae9017
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/inkeep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Inkeep Source Sync

on:
push:
branches:
- main
paths:
- "docs/**"

jobs:
syncSourceJob:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check for changes
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
docs:
- 'docs/**'
- name: Sync Source
if: steps.changes.outputs.docs == 'true'
uses: inkeep/pr-commenter-action@v10
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
apiKey: ${{secrets.INKEEP_API_KEY}}
sourceId: "clypy5hlo01s28t764vzyijq5"

0 comments on commit dae9017

Please sign in to comment.