Revise strategy section in handbook #1733
This file contains hidden or 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 Agent | |
| on: | |
| issue_comment: | |
| types: [created] | |
| pull_request_review_comment: | |
| types: [created] | |
| pull_request_review: | |
| types: [submitted] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| id-token: write | |
| jobs: | |
| trigger-agent: | |
| if: | | |
| (github.event_name == 'issue_comment' && github.event.issue.pull_request && contains(github.event.comment.body, '@inkeep')) || | |
| (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@inkeep')) || | |
| (github.event_name == 'pull_request_review' && contains(github.event.review.body || '', '@inkeep')) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger Inkeep Agent | |
| uses: inkeep/inkeep-agents-action@v0 | |
| with: | |
| trigger-url: ${{ secrets.INKEEP_TRIGGER_URL }} | |
| # Filters out PRs that dont match the given regex. Update regex as desired or remove entirely | |
| pr-title-regex: '^(feat|fix|docs|chore)(\(.+\))?:' |