8000 add inkeep content writer workflow by bryan-inkeep · Pull Request #1 · bryan-inkeep/agent-skills · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/inkeep-content-writer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Inkeep Content Writer

on:
pull_request:
types: [closed]
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
pull_request_review:
types: [submitted]

permissions:
contents: read
pull-requests: write
id-token: write

jobs:
trigger-agent:
if: |
(github.event_name == 'pull_request' && github.event.pull_request.merged == true && github.event.pull_request.user.login != 'inkeep[bot]') ||
(
(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_CONTENT_WRITER_TRIGGER_URL }}
# Filters out PRs that don't match the given regex. Update regex as desired or remove entirely
pr-title-regex: '^(feat|fix|docs|chore)(\(.+\))?:'
Loading
0