DOCS-3182: Clarify one_shot parameter (#3713) #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |