Skip to content

chore(aida): refresh artifacts for newer AIDA version (DX-340) #1

chore(aida): refresh artifacts for newer AIDA version (DX-340)

chore(aida): refresh artifacts for newer AIDA version (DX-340) #1

name: AIDA Git Policy Checks
on:
pull_request:
types: [opened, synchronize, edited, reopened]
jobs:
commit_policy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install AIDA MCP
run: pipx install aida-mcp
- name: Check commit messages
run: aida-mcp check-commit-policy --from-ref "${{ github.event.pull_request.base.sha }}" --to-ref "${{ github.event.pull_request.head.sha }}" --json
pr_policy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install AIDA MCP
run: pipx install aida-mcp
- name: Check PR title/body templates
env:
PR_TITLE: ${{ github.event.pull_request.title }}
PR_BODY: ${{ github.event.pull_request.body }}
run: aida-mcp check-pr-policy --title "$PR_TITLE" --body "$PR_BODY" --json