[BC Idea]: Codeunit 310 "No. Series" new integration event #241
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: 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 }}}}' |