Skip to content

[BC Idea]: Codeunit 310 "No. Series" new integration event #241

[BC Idea]: Codeunit 310 "No. Series" new integration event

[BC Idea]: Codeunit 310 "No. Series" new integration event #241

name: Dispatch AI Triage
on:
issues:
types: [opened, labeled]
permissions: {}
jobs:
dispatch:
if: >-
github.event.issue.state == 'open' && (
github.event.action == 'opened' ||
github.event.label.name == 'ai-triage'
)
runs-on: ubuntu-latest
steps:
- name: Trigger triage on BCAppsTriage
env:
TOKEN: ${{ secrets.TRIAGE_DISPATCH_TOKEN }}
run: |
curl -s -X POST \
-H "Authorization: token $TOKEN" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/microsoft/BCAppsTriage/dispatches \
-d '{"event_type":"issue-triage","client_payload":{"issue_number":${{ github.event.issue.number }}}}'