Blog post on AI-native hiring practices for Ops teams #7379
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: write | |
| issues: write | |
| 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.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR')) || | |
| (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@inkeep') && | |
| (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR')) || | |
| (github.event_name == 'pull_request_review' && contains(github.event.review.body || '', '@inkeep') && | |
| (github.event.review.author_association == 'OWNER' || github.event.review.author_association == 'MEMBER' || github.event.review.author_association == 'COLLABORATOR')) | |
| ) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger Inkeep Agent | |
| uses: inkeep/inkeep-agents-action@fbbc92842bd025f044cb7e4d827882fd85914f26 | |
| 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)(\(.+\))?:' |